Interface InstanceNetworkInterfaceAttachment.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceNetworkInterfaceAttachment.Builder,InstanceNetworkInterfaceAttachment>,SdkBuilder<InstanceNetworkInterfaceAttachment.Builder,InstanceNetworkInterfaceAttachment>,SdkPojo
- Enclosing class:
- InstanceNetworkInterfaceAttachment
@Mutable @NotThreadSafe public static interface InstanceNetworkInterfaceAttachment.Builder extends SdkPojo, CopyableBuilder<InstanceNetworkInterfaceAttachment.Builder,InstanceNetworkInterfaceAttachment>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InstanceNetworkInterfaceAttachment.BuilderattachmentId(String attachmentId)The ID of the network interface attachment.InstanceNetworkInterfaceAttachment.BuilderattachTime(Instant attachTime)The time stamp when the attachment initiated.InstanceNetworkInterfaceAttachment.BuilderdeleteOnTermination(Boolean deleteOnTermination)Indicates whether the network interface is deleted when the instance is terminated.InstanceNetworkInterfaceAttachment.BuilderdeviceIndex(Integer deviceIndex)The index of the device on the instance for the network interface attachment.InstanceNetworkInterfaceAttachment.BuilderenaQueueCount(Integer enaQueueCount)The number of ENA queues created with the instance.default InstanceNetworkInterfaceAttachment.BuilderenaSrdSpecification(Consumer<InstanceAttachmentEnaSrdSpecification.Builder> enaSrdSpecification)Contains the ENA Express settings for the network interface that's attached to the instance.InstanceNetworkInterfaceAttachment.BuilderenaSrdSpecification(InstanceAttachmentEnaSrdSpecification enaSrdSpecification)Contains the ENA Express settings for the network interface that's attached to the instance.InstanceNetworkInterfaceAttachment.BuildernetworkCardIndex(Integer networkCardIndex)The index of the network card.InstanceNetworkInterfaceAttachment.Builderstatus(String status)The attachment state.InstanceNetworkInterfaceAttachment.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
-
attachTime
InstanceNetworkInterfaceAttachment.Builder attachTime(Instant attachTime)
The time stamp when the attachment initiated.
- Parameters:
attachTime- The time stamp when the attachment initiated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachmentId
InstanceNetworkInterfaceAttachment.Builder attachmentId(String attachmentId)
The ID of the network interface attachment.
- Parameters:
attachmentId- The ID of the network interface attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteOnTermination
InstanceNetworkInterfaceAttachment.Builder deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
- Parameters:
deleteOnTermination- Indicates whether the network interface is deleted when the instance is terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceIndex
InstanceNetworkInterfaceAttachment.Builder deviceIndex(Integer deviceIndex)
The index of the device on the instance for the network interface attachment.
- Parameters:
deviceIndex- The index of the device on the instance for the network interface attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
InstanceNetworkInterfaceAttachment.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
InstanceNetworkInterfaceAttachment.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
-
networkCardIndex
InstanceNetworkInterfaceAttachment.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.
-
enaSrdSpecification
InstanceNetworkInterfaceAttachment.Builder enaSrdSpecification(InstanceAttachmentEnaSrdSpecification enaSrdSpecification)
Contains the ENA Express settings for the network interface that's attached to the instance.
- Parameters:
enaSrdSpecification- Contains the ENA Express settings for the network interface that's attached to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enaSrdSpecification
default InstanceNetworkInterfaceAttachment.Builder enaSrdSpecification(Consumer<InstanceAttachmentEnaSrdSpecification.Builder> enaSrdSpecification)
Contains the ENA Express settings for the network interface that's attached to the instance.
This is a convenience method that creates an instance of theInstanceAttachmentEnaSrdSpecification.Builderavoiding the need to create one manually viaInstanceAttachmentEnaSrdSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenaSrdSpecification(InstanceAttachmentEnaSrdSpecification).- Parameters:
enaSrdSpecification- a consumer that will call methods onInstanceAttachmentEnaSrdSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
enaSrdSpecification(InstanceAttachmentEnaSrdSpecification)
-
enaQueueCount
InstanceNetworkInterfaceAttachment.Builder enaQueueCount(Integer enaQueueCount)
The number of ENA queues created with the instance.
- Parameters:
enaQueueCount- The number of ENA queues created with the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-