public static interface AttachNetworkInterfaceRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AttachNetworkInterfaceRequest.Builder,AttachNetworkInterfaceRequest>
Modifier and Type | Method and Description |
---|---|
AttachNetworkInterfaceRequest.Builder |
deviceIndex(Integer deviceIndex)
The index of the device for the network interface attachment.
|
AttachNetworkInterfaceRequest.Builder |
instanceId(String instanceId)
The ID of the instance.
|
AttachNetworkInterfaceRequest.Builder |
networkCardIndex(Integer networkCardIndex)
The index of the network card.
|
AttachNetworkInterfaceRequest.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
AttachNetworkInterfaceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachNetworkInterfaceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AttachNetworkInterfaceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.