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)
Indicates whether the Elastic IP address is for use with instances in a VPC or instances in EC2-Classic.
|
AllocateAddressRequest.Builder |
domain(String domain)
Indicates whether the Elastic IP address is for use with instances in a VPC or instances in EC2-Classic.
|
AllocateAddressRequest.Builder |
networkBorderGroup(String networkBorderGroup)
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses.
|
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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
AllocateAddressRequest.Builder domain(String domain)
Indicates whether the Elastic IP address is for use with instances in a VPC or instances in EC2-Classic.
Default: If the Region supports EC2-Classic, the default is standard
. Otherwise, the default is
vpc
.
domain
- Indicates whether the Elastic IP address is for use with instances in a VPC or instances in
EC2-Classic.
Default: If the Region supports EC2-Classic, the default is standard
. Otherwise, the
default is vpc
.
DomainType
,
DomainType
AllocateAddressRequest.Builder domain(DomainType domain)
Indicates whether the Elastic IP address is for use with instances in a VPC or instances in EC2-Classic.
Default: If the Region supports EC2-Classic, the default is standard
. Otherwise, the default is
vpc
.
domain
- Indicates whether the Elastic IP address is for use with instances in a VPC or instances in
EC2-Classic.
Default: If the Region supports EC2-Classic, the default is standard
. Otherwise, the
default is vpc
.
DomainType
,
DomainType
AllocateAddressRequest.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)
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups.
Use DescribeAvailabilityZones 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
- A unique set of Availability Zones, Local Zones, or Wavelength Zones from which AWS advertises IP
addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move
between network border groups.
Use DescribeAvailabilityZones 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.Builder
AllocateAddressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.