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