Interface AssociateVpcCidrBlockResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssociateVpcCidrBlockResponse.Builder,
,AssociateVpcCidrBlockResponse> Ec2Response.Builder
,SdkBuilder<AssociateVpcCidrBlockResponse.Builder,
,AssociateVpcCidrBlockResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssociateVpcCidrBlockResponse
public static interface AssociateVpcCidrBlockResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateVpcCidrBlockResponse.Builder,AssociateVpcCidrBlockResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncidrBlockAssociation
(Consumer<VpcCidrBlockAssociation.Builder> cidrBlockAssociation) Information about the IPv4 CIDR block association.cidrBlockAssociation
(VpcCidrBlockAssociation cidrBlockAssociation) Information about the IPv4 CIDR block association.ipv6CidrBlockAssociation
(Consumer<VpcIpv6CidrBlockAssociation.Builder> ipv6CidrBlockAssociation) Information about the IPv6 CIDR block association.ipv6CidrBlockAssociation
(VpcIpv6CidrBlockAssociation ipv6CidrBlockAssociation) Information about the IPv6 CIDR block association.The ID of the VPC.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
ipv6CidrBlockAssociation
AssociateVpcCidrBlockResponse.Builder ipv6CidrBlockAssociation(VpcIpv6CidrBlockAssociation ipv6CidrBlockAssociation) Information about the IPv6 CIDR block association.
- Parameters:
ipv6CidrBlockAssociation
- Information about the IPv6 CIDR block association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlockAssociation
default AssociateVpcCidrBlockResponse.Builder ipv6CidrBlockAssociation(Consumer<VpcIpv6CidrBlockAssociation.Builder> ipv6CidrBlockAssociation) Information about the IPv6 CIDR block association.
This is a convenience method that creates an instance of theVpcIpv6CidrBlockAssociation.Builder
avoiding the need to create one manually viaVpcIpv6CidrBlockAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipv6CidrBlockAssociation(VpcIpv6CidrBlockAssociation)
.- Parameters:
ipv6CidrBlockAssociation
- a consumer that will call methods onVpcIpv6CidrBlockAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cidrBlockAssociation
AssociateVpcCidrBlockResponse.Builder cidrBlockAssociation(VpcCidrBlockAssociation cidrBlockAssociation) Information about the IPv4 CIDR block association.
- Parameters:
cidrBlockAssociation
- Information about the IPv4 CIDR block association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlockAssociation
default AssociateVpcCidrBlockResponse.Builder cidrBlockAssociation(Consumer<VpcCidrBlockAssociation.Builder> cidrBlockAssociation) Information about the IPv4 CIDR block association.
This is a convenience method that creates an instance of theVpcCidrBlockAssociation.Builder
avoiding the need to create one manually viaVpcCidrBlockAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocidrBlockAssociation(VpcCidrBlockAssociation)
.- Parameters:
cidrBlockAssociation
- a consumer that will call methods onVpcCidrBlockAssociation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcId
The ID of the VPC.
- Parameters:
vpcId
- The ID of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-