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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VpcCidrBlockAssociation.BuilderassociationId(String associationId)The association ID for the IPv4 CIDR block.VpcCidrBlockAssociation.BuildercidrBlock(String cidrBlock)The IPv4 CIDR block.default VpcCidrBlockAssociation.BuildercidrBlockState(Consumer<VpcCidrBlockState.Builder> cidrBlockState)Information about the state of the CIDR block.VpcCidrBlockAssociation.BuildercidrBlockState(VpcCidrBlockState cidrBlockState)Information about the state of the CIDR block.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
associationId
VpcCidrBlockAssociation.Builder associationId(String 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
VpcCidrBlockAssociation.Builder cidrBlock(String 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
VpcCidrBlockAssociation.Builder cidrBlockState(VpcCidrBlockState 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:
cidrBlockState(VpcCidrBlockState)
-
-