public static interface AllocateAddressRequest.Builder extends Ec2Request.Builder, CopyableBuilder<AllocateAddressRequest.Builder,AllocateAddressRequest>
Modifier and Type | Method and Description |
---|---|
AllocateAddressRequest.Builder |
address(String address)
[EC2-VPC] The Elastic IP address to recover.
|
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)
Add an optional request override configuration.
|
AllocateAddressRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
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.
address
- [EC2-VPC] The Elastic IP address to recover.AllocateAddressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AllocateAddressRequest.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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.