Interface AllocateAddressRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AllocateAddressRequest.Builder,AllocateAddressRequest>,Ec2Request.Builder,SdkBuilder<AllocateAddressRequest.Builder,AllocateAddressRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- AllocateAddressRequest
public static interface AllocateAddressRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<AllocateAddressRequest.Builder,AllocateAddressRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AllocateAddressRequest.Builderaddress(String address)The Elastic IP address to recover or an IPv4 address from an address pool.AllocateAddressRequest.BuildercustomerOwnedIpv4Pool(String customerOwnedIpv4Pool)The ID of a customer-owned address pool.AllocateAddressRequest.Builderdomain(String domain)The network (vpc).AllocateAddressRequest.Builderdomain(DomainType domain)The network (vpc).AllocateAddressRequest.BuilderdryRun(Boolean dryRun)Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.AllocateAddressRequest.BuilderipamPoolId(String ipamPoolId)The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.AllocateAddressRequest.BuildernetworkBorderGroup(String networkBorderGroup)A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.AllocateAddressRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)AllocateAddressRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)AllocateAddressRequest.BuilderpublicIpv4Pool(String publicIpv4Pool)The ID of an address pool that you own.AllocateAddressRequest.BuildertagSpecifications(Collection<TagSpecification> tagSpecifications)The tags to assign to the Elastic IP address.AllocateAddressRequest.BuildertagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)The tags to assign to the Elastic IP address.AllocateAddressRequest.BuildertagSpecifications(TagSpecification... tagSpecifications)The tags to assign to the Elastic IP address.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
domain
AllocateAddressRequest.Builder domain(String domain)
The network (
vpc).- Parameters:
domain- The network (vpc).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DomainType,DomainType
-
domain
AllocateAddressRequest.Builder domain(DomainType domain)
The network (
vpc).- Parameters:
domain- The network (vpc).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DomainType,DomainType
-
address
AllocateAddressRequest.Builder address(String address)
The Elastic IP address to recover or an IPv4 address from an address pool.
- Parameters:
address- The Elastic IP address to recover or an IPv4 address from an address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicIpv4Pool
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
Addressparameter instead.- Parameters:
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 theAddressparameter instead.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkBorderGroup
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customerOwnedIpv4Pool
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
AllocateAddressRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the Elastic IP address.
- Parameters:
tagSpecifications- The tags to assign to the Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
AllocateAddressRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the Elastic IP address.
- Parameters:
tagSpecifications- The tags to assign to the Elastic IP address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagSpecifications
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.Builderavoiding the need to create one manually viaTagSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tagSpecifications(List.) - Parameters:
tagSpecifications- a consumer that will call methods onTagSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagSpecifications(java.util.Collection)
-
ipamPoolId
AllocateAddressRequest.Builder ipamPoolId(String ipamPoolId)
The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. For more information, see Allocate sequential Elastic IP addresses from an IPAM pool in the Amazon VPC IPAM User Guide.
- Parameters:
ipamPoolId- The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it. For more information, see Allocate sequential Elastic IP addresses from an IPAM pool in the Amazon VPC IPAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
AllocateAddressRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AllocateAddressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
AllocateAddressRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-