public static interface AttachNetworkInterfaceRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AttachNetworkInterfaceRequest.Builder,AttachNetworkInterfaceRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
AttachNetworkInterfaceRequest.Builder deviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
deviceIndex
- The index of the device for the network interface attachment.AttachNetworkInterfaceRequest.Builder instanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.AttachNetworkInterfaceRequest.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
networkInterfaceId
- The ID of the network interface.AttachNetworkInterfaceRequest.Builder networkCardIndex(Integer networkCardIndex)
The index of the network card. Some instance types support multiple network cards. The primary network interface must be assigned to network card index 0. The default is network card index 0.
networkCardIndex
- The index of the network card. Some instance types support multiple network cards. The primary network
interface must be assigned to network card index 0. The default is network card index 0.AttachNetworkInterfaceRequest.Builder enaSrdSpecification(EnaSrdSpecification 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 AttachNetworkInterfaceRequest.Builder enaSrdSpecification(Consumer<EnaSrdSpecification.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 theEnaSrdSpecification.Builder
avoiding the
need to create one manually via EnaSrdSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to enaSrdSpecification(EnaSrdSpecification)
.
enaSrdSpecification
- a consumer that will call methods on EnaSrdSpecification.Builder
enaSrdSpecification(EnaSrdSpecification)
AttachNetworkInterfaceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
AttachNetworkInterfaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.