public static interface NetworkInterfaceAttachment.Builder extends SdkPojo, CopyableBuilder<NetworkInterfaceAttachment.Builder,NetworkInterfaceAttachment>
| Modifier and Type | Method and Description |
|---|---|
NetworkInterfaceAttachment.Builder |
attachmentId(String attachmentId)
The ID of the network interface attachment.
|
NetworkInterfaceAttachment.Builder |
attachTime(Instant attachTime)
The timestamp indicating when the attachment initiated.
|
NetworkInterfaceAttachment.Builder |
deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
|
NetworkInterfaceAttachment.Builder |
deviceIndex(Integer deviceIndex)
The device index of the network interface attachment on the instance.
|
NetworkInterfaceAttachment.Builder |
enaSrdSpecification(AttachmentEnaSrdSpecification enaSrdSpecification)
Configures ENA Express for the network interface that this action attaches to the instance.
|
default NetworkInterfaceAttachment.Builder |
enaSrdSpecification(Consumer<AttachmentEnaSrdSpecification.Builder> enaSrdSpecification)
Configures ENA Express for the network interface that this action attaches to the instance.
|
NetworkInterfaceAttachment.Builder |
instanceId(String instanceId)
The ID of the instance.
|
NetworkInterfaceAttachment.Builder |
instanceOwnerId(String instanceOwnerId)
The Amazon Web Services account ID of the owner of the instance.
|
NetworkInterfaceAttachment.Builder |
networkCardIndex(Integer networkCardIndex)
The index of the network card.
|
NetworkInterfaceAttachment.Builder |
status(AttachmentStatus status)
The attachment state.
|
NetworkInterfaceAttachment.Builder |
status(String status)
The attachment state.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNetworkInterfaceAttachment.Builder attachTime(Instant attachTime)
The timestamp indicating when the attachment initiated.
attachTime - The timestamp indicating when the attachment initiated.NetworkInterfaceAttachment.Builder attachmentId(String attachmentId)
The ID of the network interface attachment.
attachmentId - The ID of the network interface attachment.NetworkInterfaceAttachment.Builder deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
deleteOnTermination - Indicates whether the network interface is deleted when the instance is terminated.NetworkInterfaceAttachment.Builder deviceIndex(Integer deviceIndex)
The device index of the network interface attachment on the instance.
deviceIndex - The device index of the network interface attachment on the instance.NetworkInterfaceAttachment.Builder networkCardIndex(Integer networkCardIndex)
The index of the network card.
networkCardIndex - The index of the network card.NetworkInterfaceAttachment.Builder instanceId(String instanceId)
The ID of the instance.
instanceId - The ID of the instance.NetworkInterfaceAttachment.Builder instanceOwnerId(String instanceOwnerId)
The Amazon Web Services account ID of the owner of the instance.
instanceOwnerId - The Amazon Web Services account ID of the owner of the instance.NetworkInterfaceAttachment.Builder status(String status)
The attachment state.
status - The attachment state.AttachmentStatus,
AttachmentStatusNetworkInterfaceAttachment.Builder status(AttachmentStatus status)
The attachment state.
status - The attachment state.AttachmentStatus,
AttachmentStatusNetworkInterfaceAttachment.Builder enaSrdSpecification(AttachmentEnaSrdSpecification enaSrdSpecification)
Configures ENA Express for the network interface that this action attaches to the instance.
enaSrdSpecification - Configures ENA Express for the network interface that this action attaches to the instance.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 via AttachmentEnaSrdSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to enaSrdSpecification(AttachmentEnaSrdSpecification).
enaSrdSpecification - a consumer that will call methods on AttachmentEnaSrdSpecification.BuilderenaSrdSpecification(AttachmentEnaSrdSpecification)Copyright © 2022. All rights reserved.