Interface SecondaryInterfaceAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SecondaryInterfaceAttachment.Builder,SecondaryInterfaceAttachment>,SdkBuilder<SecondaryInterfaceAttachment.Builder,SecondaryInterfaceAttachment>,SdkPojo
- Enclosing class:
- SecondaryInterfaceAttachment
@Mutable @NotThreadSafe public static interface SecondaryInterfaceAttachment.Builder extends SdkPojo, CopyableBuilder<SecondaryInterfaceAttachment.Builder,SecondaryInterfaceAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SecondaryInterfaceAttachment.BuilderattachmentId(String attachmentId)The ID of the attachment.SecondaryInterfaceAttachment.BuilderattachTime(Instant attachTime)The timestamp when the attachment was created.SecondaryInterfaceAttachment.BuilderdeleteOnTermination(Boolean deleteOnTermination)Indicates whether the secondary interface is deleted when the instance is terminated.SecondaryInterfaceAttachment.BuilderdeviceIndex(Integer deviceIndex)The device index of the secondary interface.SecondaryInterfaceAttachment.BuilderinstanceId(String instanceId)The ID of the instance to which the secondary interface is attached.SecondaryInterfaceAttachment.BuilderinstanceOwnerId(String instanceOwnerId)The Amazon Web Services account ID of the owner of the instance.SecondaryInterfaceAttachment.BuildernetworkCardIndex(Integer networkCardIndex)The index of the network card.SecondaryInterfaceAttachment.Builderstatus(String status)The attachment state.SecondaryInterfaceAttachment.Builderstatus(AttachmentStatus status)The attachment state.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
attachmentId
SecondaryInterfaceAttachment.Builder attachmentId(String 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.
-
attachTime
SecondaryInterfaceAttachment.Builder attachTime(Instant 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.
-
deleteOnTermination
SecondaryInterfaceAttachment.Builder deleteOnTermination(Boolean 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
SecondaryInterfaceAttachment.Builder deviceIndex(Integer 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.
-
instanceId
SecondaryInterfaceAttachment.Builder instanceId(String instanceId)
The ID of the instance to which the secondary interface is attached.
- Parameters:
instanceId- The ID of the instance to which the secondary interface is attached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceOwnerId
SecondaryInterfaceAttachment.Builder instanceOwnerId(String instanceOwnerId)
The Amazon Web Services account ID of the owner of the instance.
- Parameters:
instanceOwnerId- The Amazon Web Services account ID of the owner of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkCardIndex
SecondaryInterfaceAttachment.Builder networkCardIndex(Integer 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.
-
status
SecondaryInterfaceAttachment.Builder status(String 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:
AttachmentStatus,AttachmentStatus
-
status
SecondaryInterfaceAttachment.Builder status(AttachmentStatus 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:
AttachmentStatus,AttachmentStatus
-
-