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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AllocateAddressRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
build
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.AllocateAddressRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.