public static interface AllocateAddressRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AllocateAddressRequest.Builder,AllocateAddressRequest>
| Modifier and Type | Method and Description |
|---|---|
AllocateAddressRequest.Builder |
address(String address)
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)
The network (
vpc). |
AllocateAddressRequest.Builder |
domain(String domain)
The network (
vpc). |
AllocateAddressRequest.Builder |
networkBorderGroup(String networkBorderGroup)
A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services
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.
|
AllocateAddressRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Elastic IP address.
|
AllocateAddressRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to assign to the Elastic IP address.
|
AllocateAddressRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the Elastic IP address.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAllocateAddressRequest.Builder domain(String domain)
The network (vpc).
domain - The network (vpc).DomainType,
DomainTypeAllocateAddressRequest.Builder domain(DomainType domain)
The network (vpc).
domain - The network (vpc).DomainType,
DomainTypeAllocateAddressRequest.Builder address(String address)
The Elastic IP address to recover or an IPv4 address from an address pool.
address - 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 Amazon Web Services 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
receive an InvalidParameterCombination error.
networkBorderGroup - A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services
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 receive an InvalidParameterCombination error.
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 tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Elastic IP address.
tagSpecifications - The tags to assign to the Elastic IP address.AllocateAddressRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the Elastic IP address.
tagSpecifications - The tags to assign to the Elastic IP address.AllocateAddressRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to assign to the Elastic IP address.
This is a convenience method that creates an instance of theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) AllocateAddressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAllocateAddressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.