Interface InstanceSecondaryInterfaceAttachment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceSecondaryInterfaceAttachment.Builder,,InstanceSecondaryInterfaceAttachment> SdkBuilder<InstanceSecondaryInterfaceAttachment.Builder,,InstanceSecondaryInterfaceAttachment> SdkPojo
- Enclosing class:
InstanceSecondaryInterfaceAttachment
@Mutable
@NotThreadSafe
public static interface InstanceSecondaryInterfaceAttachment.Builder
extends SdkPojo, CopyableBuilder<InstanceSecondaryInterfaceAttachment.Builder,InstanceSecondaryInterfaceAttachment>
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId(String attachmentId) The ID of the attachment.attachTime(Instant attachTime) The timestamp when the attachment was created.deleteOnTermination(Boolean deleteOnTermination) Indicates whether the secondary interface is deleted when the instance is terminated.deviceIndex(Integer deviceIndex) The device index of the secondary interface.networkCardIndex(Integer networkCardIndex) The index of the network card.The attachment state.status(AttachmentStatus status) The attachment state.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
attachTime
The timestamp when the attachment was created.
- Parameters:
attachTime- The timestamp when the attachment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentId
The ID of the attachment.
- Parameters:
attachmentId- The ID of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteOnTermination
Indicates whether the secondary interface is deleted when the instance is terminated.
The only supported value for this field is
true.- Parameters:
deleteOnTermination- Indicates whether the secondary interface is deleted when the instance is terminated.The only supported value for this field is
true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceIndex
The device index of the secondary interface.
- Parameters:
deviceIndex- The device index of the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The attachment state.
- Parameters:
status- The attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The attachment state.
- Parameters:
status- The attachment state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
networkCardIndex
The index of the network card.
- Parameters:
networkCardIndex- The index of the network card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-