Interface ProvisionIpamPoolCidrRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ProvisionIpamPoolCidrRequest.Builder,
,ProvisionIpamPoolCidrRequest> Ec2Request.Builder
,SdkBuilder<ProvisionIpamPoolCidrRequest.Builder,
,ProvisionIpamPoolCidrRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ProvisionIpamPoolCidrRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe CIDR you want to assign to the IPAM pool.cidrAuthorizationContext
(Consumer<IpamCidrAuthorizationContext.Builder> cidrAuthorizationContext) A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP.cidrAuthorizationContext
(IpamCidrAuthorizationContext cidrAuthorizationContext) A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.A check for whether you have the required permissions for the action without actually making the request and provides an error response.ipamPoolId
(String ipamPoolId) The ID of the IPAM pool to which you want to assign a CIDR.netmaskLength
(Integer netmaskLength) The netmask length of the CIDR you'd like to provision to a pool.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
dryRun
A check for 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
- A check for 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.
-
ipamPoolId
The ID of the IPAM pool to which you want to assign a CIDR.
- Parameters:
ipamPoolId
- The ID of the IPAM pool to which you want to assign a CIDR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidr
The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.
- Parameters:
cidr
- The CIDR you want to assign to the IPAM pool. Either "NetmaskLength" or "Cidr" is required. This value will be null if you specify "NetmaskLength" and will be filled in during the provisioning process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrAuthorizationContext
ProvisionIpamPoolCidrRequest.Builder cidrAuthorizationContext(IpamCidrAuthorizationContext cidrAuthorizationContext) A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.
- Parameters:
cidrAuthorizationContext
- A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrAuthorizationContext
default ProvisionIpamPoolCidrRequest.Builder cidrAuthorizationContext(Consumer<IpamCidrAuthorizationContext.Builder> cidrAuthorizationContext) A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP. This option applies to public pools only.
This is a convenience method that creates an instance of theIpamCidrAuthorizationContext.Builder
avoiding the need to create one manually viaIpamCidrAuthorizationContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocidrAuthorizationContext(IpamCidrAuthorizationContext)
.- Parameters:
cidrAuthorizationContext
- a consumer that will call methods onIpamCidrAuthorizationContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
netmaskLength
The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.
- Parameters:
netmaskLength
- The netmask length of the CIDR you'd like to provision to a pool. Can be used for provisioning Amazon-provided IPv6 CIDRs to top-level pools and for provisioning CIDRs to pools with source pools. Cannot be used to provision BYOIP CIDRs to top-level pools. Either "NetmaskLength" or "Cidr" is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.
- Parameters:
clientToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring Idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ProvisionIpamPoolCidrRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ProvisionIpamPoolCidrRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-