Interface ProvisionIpamPoolCidrRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ProvisionIpamPoolCidrRequest.Builder,ProvisionIpamPoolCidrRequest>,Ec2Request.Builder,SdkBuilder<ProvisionIpamPoolCidrRequest.Builder,ProvisionIpamPoolCidrRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ProvisionIpamPoolCidrRequest
public static interface ProvisionIpamPoolCidrRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ProvisionIpamPoolCidrRequest.Builder,ProvisionIpamPoolCidrRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProvisionIpamPoolCidrRequest.Buildercidr(String cidr)The CIDR you want to assign to the IPAM pool.default ProvisionIpamPoolCidrRequest.BuildercidrAuthorizationContext(Consumer<IpamCidrAuthorizationContext.Builder> cidrAuthorizationContext)A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP.ProvisionIpamPoolCidrRequest.BuildercidrAuthorizationContext(IpamCidrAuthorizationContext cidrAuthorizationContext)A signed document that proves that you are authorized to bring a specified IP address range to Amazon using BYOIP.ProvisionIpamPoolCidrRequest.BuilderclientToken(String clientToken)A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.ProvisionIpamPoolCidrRequest.BuilderdryRun(Boolean dryRun)A check for whether you have the required permissions for the action without actually making the request and provides an error response.ProvisionIpamPoolCidrRequest.BuilderipamPoolId(String ipamPoolId)The ID of the IPAM pool to which you want to assign a CIDR.ProvisionIpamPoolCidrRequest.BuildernetmaskLength(Integer netmaskLength)The netmask length of the CIDR you'd like to provision to a pool.ProvisionIpamPoolCidrRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ProvisionIpamPoolCidrRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
-
dryRun
ProvisionIpamPoolCidrRequest.Builder dryRun(Boolean 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
ProvisionIpamPoolCidrRequest.Builder ipamPoolId(String 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
ProvisionIpamPoolCidrRequest.Builder cidr(String 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.Builderavoiding the need to create one manually viaIpamCidrAuthorizationContext.builder().When the
Consumercompletes,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:
cidrAuthorizationContext(IpamCidrAuthorizationContext)
-
netmaskLength
ProvisionIpamPoolCidrRequest.Builder netmaskLength(Integer 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
ProvisionIpamPoolCidrRequest.Builder clientToken(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ProvisionIpamPoolCidrRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-