public static interface AllocateAddressRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AllocateAddressRequest.Builder,AllocateAddressRequest>
| Modifier and Type | Method and Description |
|---|---|
AllocateAddressRequest.Builder |
address(String address)
[EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.
|
AllocateAddressRequest.Builder |
customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of a customer-owned address pool.
|
AllocateAddressRequest.Builder |
domain(DomainType domain)
Set to
vpc to allocate the address for use with instances in a VPC. |
AllocateAddressRequest.Builder |
domain(String domain)
Set to
vpc to allocate the address for use with instances in a VPC. |
AllocateAddressRequest.Builder |
networkBorderGroup(String networkBorderGroup)
The location from which the IP address is advertised.
|
AllocateAddressRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AllocateAddressRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AllocateAddressRequest.Builder |
publicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAllocateAddressRequest.Builder domain(String domain)
Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
domain - Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
DomainType,
DomainTypeAllocateAddressRequest.Builder domain(DomainType domain)
Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
domain - Set to vpc to allocate the address for use with instances in a VPC.
Default: The address is for use with instances in EC2-Classic.
DomainType,
DomainTypeAllocateAddressRequest.Builder address(String address)
[EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.
address - [EC2-VPC] The Elastic IP address to recover or an IPv4 address from an address pool.AllocateAddressRequest.Builder publicIpv4Pool(String publicIpv4Pool)
The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from the
address pool. To specify a specific address from the address pool, use the Address parameter
instead.
publicIpv4Pool - The ID of an address pool that you own. Use this parameter to let Amazon EC2 select an address from
the address pool. To specify a specific address from the address pool, use the Address
parameter instead.AllocateAddressRequest.Builder networkBorderGroup(String networkBorderGroup)
The location from which the IP address is advertised. Use this parameter to limit the address to this location.
Use DescribeVpcs to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic, you
will receive an InvalidParameterCombination error. For more information, see Error Codes.
networkBorderGroup - The location from which the IP address is advertised. Use this parameter to limit the address to this
location.
Use DescribeVpcs to view the network border groups.
You cannot use a network border group with EC2 Classic. If you attempt this operation on EC2 classic,
you will receive an InvalidParameterCombination error. For more information, see Error Codes.
AllocateAddressRequest.Builder customerOwnedIpv4Pool(String customerOwnedIpv4Pool)
The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from the address pool. Alternatively, specify a specific address from the address pool.
customerOwnedIpv4Pool - The ID of a customer-owned address pool. Use this parameter to let Amazon EC2 select an address from
the address pool. Alternatively, specify a specific address from the address pool.AllocateAddressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAllocateAddressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2020. All rights reserved.