public static interface AssociateAddressRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AssociateAddressRequest.Builder,AssociateAddressRequest>
| Modifier and Type | Method and Description |
|---|---|
AssociateAddressRequest.Builder |
allocationId(String allocationId)
The allocation ID.
|
AssociateAddressRequest.Builder |
allowReassociation(Boolean allowReassociation)
Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address
is already associated with another resource.
|
AssociateAddressRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
AssociateAddressRequest.Builder |
instanceId(String instanceId)
The ID of the instance.
|
AssociateAddressRequest.Builder |
networkInterfaceId(String networkInterfaceId)
The ID of the network interface.
|
AssociateAddressRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AssociateAddressRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AssociateAddressRequest.Builder |
privateIpAddress(String privateIpAddress)
The primary or secondary private IP address to associate with the Elastic IP address.
|
AssociateAddressRequest.Builder |
publicIp(String publicIp)
Deprecated.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAssociateAddressRequest.Builder allocationId(String allocationId)
The allocation ID. This is required.
allocationId - The allocation ID. This is required.AssociateAddressRequest.Builder instanceId(String instanceId)
The ID of the instance. The instance must have exactly one attached network interface. You can specify either the instance ID or the network interface ID, but not both.
instanceId - The ID of the instance. The instance must have exactly one attached network interface. You can specify
either the instance ID or the network interface ID, but not both.AssociateAddressRequest.Builder publicIp(String publicIp)
Deprecated.
publicIp - Deprecated.AssociateAddressRequest.Builder allowReassociation(Boolean allowReassociation)
Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP address is already associated with another resource.
allowReassociation - Reassociation is automatic, but you can specify false to ensure the operation fails if the Elastic IP
address is already associated with another resource.AssociateAddressRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.AssociateAddressRequest.Builder networkInterfaceId(String networkInterfaceId)
The ID of the network interface. If the instance has more than one network interface, you must specify a network interface ID.
You can specify either the instance ID or the network interface ID, but not both.
networkInterfaceId - The ID of the network interface. If the instance has more than one network interface, you must specify
a network interface ID.
You can specify either the instance ID or the network interface ID, but not both.
AssociateAddressRequest.Builder privateIpAddress(String privateIpAddress)
The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
privateIpAddress - The primary or secondary private IP address to associate with the Elastic IP address. If no private IP
address is specified, the Elastic IP address is associated with the primary private IP address.AssociateAddressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAssociateAddressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.