Interface VpcCidrBlockAssociation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcCidrBlockAssociation.Builder,,VpcCidrBlockAssociation> SdkBuilder<VpcCidrBlockAssociation.Builder,,VpcCidrBlockAssociation> SdkPojo
- Enclosing class:
VpcCidrBlockAssociation
public static interface VpcCidrBlockAssociation.Builder
extends SdkPojo, CopyableBuilder<VpcCidrBlockAssociation.Builder,VpcCidrBlockAssociation>
-
Method Summary
Modifier and TypeMethodDescriptionassociationId(String associationId) The association ID for the IPv4 CIDR block.The IPv4 CIDR block.default VpcCidrBlockAssociation.BuildercidrBlockState(Consumer<VpcCidrBlockState.Builder> cidrBlockState) Information about the state of the CIDR block.cidrBlockState(VpcCidrBlockState cidrBlockState) Information about the state of the CIDR block.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
associationId
The association ID for the IPv4 CIDR block.
- Parameters:
associationId- The association ID for the IPv4 CIDR block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlock
The IPv4 CIDR block.
- Parameters:
cidrBlock- The IPv4 CIDR block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlockState
Information about the state of the CIDR block.
- Parameters:
cidrBlockState- Information about the state of the CIDR block.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlockState
default VpcCidrBlockAssociation.Builder cidrBlockState(Consumer<VpcCidrBlockState.Builder> cidrBlockState) Information about the state of the CIDR block.
This is a convenience method that creates an instance of theVpcCidrBlockState.Builderavoiding the need to create one manually viaVpcCidrBlockState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocidrBlockState(VpcCidrBlockState).- Parameters:
cidrBlockState- a consumer that will call methods onVpcCidrBlockState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-