Interface ProvisionPublicIpv4PoolCidrResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ProvisionPublicIpv4PoolCidrResponse.Builder,,ProvisionPublicIpv4PoolCidrResponse> Ec2Response.Builder,SdkBuilder<ProvisionPublicIpv4PoolCidrResponse.Builder,,ProvisionPublicIpv4PoolCidrResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ProvisionPublicIpv4PoolCidrResponse
public static interface ProvisionPublicIpv4PoolCidrResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ProvisionPublicIpv4PoolCidrResponse.Builder,ProvisionPublicIpv4PoolCidrResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpoolAddressRange(Consumer<PublicIpv4PoolRange.Builder> poolAddressRange) Information about the address range of the public IPv4 pool.poolAddressRange(PublicIpv4PoolRange poolAddressRange) Information about the address range of the public IPv4 pool.The ID of the pool that you want to provision the CIDR to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
poolId
The ID of the pool that you want to provision the CIDR to.
- Parameters:
poolId- The ID of the pool that you want to provision the CIDR to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolAddressRange
Information about the address range of the public IPv4 pool.
- Parameters:
poolAddressRange- Information about the address range of the public IPv4 pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolAddressRange
default ProvisionPublicIpv4PoolCidrResponse.Builder poolAddressRange(Consumer<PublicIpv4PoolRange.Builder> poolAddressRange) Information about the address range of the public IPv4 pool.
This is a convenience method that creates an instance of thePublicIpv4PoolRange.Builderavoiding the need to create one manually viaPublicIpv4PoolRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topoolAddressRange(PublicIpv4PoolRange).- Parameters:
poolAddressRange- a consumer that will call methods onPublicIpv4PoolRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-