Interface ProvisionByoipCidrRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ProvisionByoipCidrRequest.Builder,ProvisionByoipCidrRequest>
,Ec2Request.Builder
,SdkBuilder<ProvisionByoipCidrRequest.Builder,ProvisionByoipCidrRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- ProvisionByoipCidrRequest
public static interface ProvisionByoipCidrRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ProvisionByoipCidrRequest.Builder,ProvisionByoipCidrRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProvisionByoipCidrRequest.Builder
cidr(String cidr)
The public IPv4 or IPv6 address range, in CIDR notation.default ProvisionByoipCidrRequest.Builder
cidrAuthorizationContext(Consumer<CidrAuthorizationContext.Builder> cidrAuthorizationContext)
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.ProvisionByoipCidrRequest.Builder
cidrAuthorizationContext(CidrAuthorizationContext cidrAuthorizationContext)
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.ProvisionByoipCidrRequest.Builder
description(String description)
A description for the address range and the address pool.ProvisionByoipCidrRequest.Builder
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.ProvisionByoipCidrRequest.Builder
multiRegion(Boolean multiRegion)
Reserved.ProvisionByoipCidrRequest.Builder
networkBorderGroup(String networkBorderGroup)
If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR.ProvisionByoipCidrRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
ProvisionByoipCidrRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
ProvisionByoipCidrRequest.Builder
poolTagSpecifications(Collection<TagSpecification> poolTagSpecifications)
The tags to apply to the address pool.ProvisionByoipCidrRequest.Builder
poolTagSpecifications(Consumer<TagSpecification.Builder>... poolTagSpecifications)
The tags to apply to the address pool.ProvisionByoipCidrRequest.Builder
poolTagSpecifications(TagSpecification... poolTagSpecifications)
The tags to apply to the address pool.ProvisionByoipCidrRequest.Builder
publiclyAdvertisable(Boolean publiclyAdvertisable)
(IPv6 only) Indicate whether the address range will be publicly advertised to the internet.-
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, sdkFields
-
-
-
-
Method Detail
-
cidr
ProvisionByoipCidrRequest.Builder cidr(String cidr)
The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address range that you've brought to this or another Region.
- Parameters:
cidr
- The public IPv4 or IPv6 address range, in CIDR notation. The most specific IPv4 prefix that you can specify is /24. The most specific IPv6 prefix you can specify is /56. The address range cannot overlap with another address range that you've brought to this or another Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrAuthorizationContext
ProvisionByoipCidrRequest.Builder cidrAuthorizationContext(CidrAuthorizationContext cidrAuthorizationContext)
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
- Parameters:
cidrAuthorizationContext
- A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrAuthorizationContext
default ProvisionByoipCidrRequest.Builder cidrAuthorizationContext(Consumer<CidrAuthorizationContext.Builder> cidrAuthorizationContext)
A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
This is a convenience method that creates an instance of theCidrAuthorizationContext.Builder
avoiding the need to create one manually viaCidrAuthorizationContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocidrAuthorizationContext(CidrAuthorizationContext)
.- Parameters:
cidrAuthorizationContext
- a consumer that will call methods onCidrAuthorizationContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
cidrAuthorizationContext(CidrAuthorizationContext)
-
publiclyAdvertisable
ProvisionByoipCidrRequest.Builder publiclyAdvertisable(Boolean publiclyAdvertisable)
(IPv6 only) Indicate whether the address range will be publicly advertised to the internet.
Default: true
- Parameters:
publiclyAdvertisable
- (IPv6 only) Indicate whether the address range will be publicly advertised to the internet.Default: true
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ProvisionByoipCidrRequest.Builder description(String description)
A description for the address range and the address pool.
- Parameters:
description
- A description for the address range and the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
ProvisionByoipCidrRequest.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.
-
poolTagSpecifications
ProvisionByoipCidrRequest.Builder poolTagSpecifications(Collection<TagSpecification> poolTagSpecifications)
The tags to apply to the address pool.
- Parameters:
poolTagSpecifications
- The tags to apply to the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolTagSpecifications
ProvisionByoipCidrRequest.Builder poolTagSpecifications(TagSpecification... poolTagSpecifications)
The tags to apply to the address pool.
- Parameters:
poolTagSpecifications
- The tags to apply to the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolTagSpecifications
ProvisionByoipCidrRequest.Builder poolTagSpecifications(Consumer<TagSpecification.Builder>... poolTagSpecifications)
The tags to apply to the address pool.
This is a convenience method that creates an instance of theTagSpecification.Builder
avoiding the need to create one manually viaTagSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#poolTagSpecifications(List
.) - Parameters:
poolTagSpecifications
- 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:
#poolTagSpecifications(java.util.Collection
)
-
multiRegion
ProvisionByoipCidrRequest.Builder multiRegion(Boolean multiRegion)
Reserved.
- Parameters:
multiRegion
- Reserved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkBorderGroup
ProvisionByoipCidrRequest.Builder networkBorderGroup(String networkBorderGroup)
If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.
You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
- Parameters:
networkBorderGroup
- If you have Local Zones enabled, you can choose a network border group for Local Zones when you provision and advertise a BYOIPv4 CIDR. Choose the network border group carefully as the EIP and the Amazon Web Services resource it is associated with must reside in the same network border group.You can provision BYOIP address ranges to and advertise them in the following Local Zone network border groups:
-
us-east-1-dfw-2
-
us-west-2-lax-1
-
us-west-2-phx-2
You cannot provision or advertise BYOIPv6 address ranges in Local Zones at this time.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
ProvisionByoipCidrRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
ProvisionByoipCidrRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-