Interface NetworkInterfaceAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkInterfaceAttachment.Builder,
,NetworkInterfaceAttachment> SdkBuilder<NetworkInterfaceAttachment.Builder,
,NetworkInterfaceAttachment> SdkPojo
- Enclosing class:
NetworkInterfaceAttachment
-
Method Summary
Modifier and TypeMethodDescriptionattachmentId
(String attachmentId) The ID of the network interface attachment.attachTime
(Instant attachTime) The timestamp indicating when the attachment initiated.deleteOnTermination
(Boolean deleteOnTermination) Indicates whether the network interface is deleted when the instance is terminated.deviceIndex
(Integer deviceIndex) The device index of the network interface attachment on the instance.enaSrdSpecification
(Consumer<AttachmentEnaSrdSpecification.Builder> enaSrdSpecification) Configures ENA Express for the network interface that this action attaches to the instance.enaSrdSpecification
(AttachmentEnaSrdSpecification enaSrdSpecification) Configures ENA Express for the network interface that this action attaches to the instance.instanceId
(String instanceId) The ID of the instance.instanceOwnerId
(String instanceOwnerId) The Amazon Web Services account ID of the owner of the instance.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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
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
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
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
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
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
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:
-
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.Builder
avoiding the need to create one manually viaAttachmentEnaSrdSpecification.builder()
.When the
Consumer
completes,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:
-