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 |
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 |
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)
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
,
DomainType
AllocateAddressRequest.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
,
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
AllocateAddressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2019. All rights reserved.