Interface VpcPeeringConnectionVpcInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcPeeringConnectionVpcInfo.Builder,,VpcPeeringConnectionVpcInfo> SdkBuilder<VpcPeeringConnectionVpcInfo.Builder,,VpcPeeringConnectionVpcInfo> SdkPojo
- Enclosing class:
VpcPeeringConnectionVpcInfo
-
Method Summary
Modifier and TypeMethodDescriptionThe IPv4 CIDR block for the VPC.cidrBlockSet(Collection<CidrBlock> cidrBlockSet) Information about the IPv4 CIDR blocks for the VPC.cidrBlockSet(Consumer<CidrBlock.Builder>... cidrBlockSet) Information about the IPv4 CIDR blocks for the VPC.cidrBlockSet(CidrBlock... cidrBlockSet) Information about the IPv4 CIDR blocks for the VPC.ipv6CidrBlockSet(Collection<Ipv6CidrBlock> ipv6CidrBlockSet) The IPv6 CIDR block for the VPC.ipv6CidrBlockSet(Consumer<Ipv6CidrBlock.Builder>... ipv6CidrBlockSet) The IPv6 CIDR block for the VPC.ipv6CidrBlockSet(Ipv6CidrBlock... ipv6CidrBlockSet) The IPv6 CIDR block for the VPC.The ID of the Amazon Web Services account that owns the VPC.peeringOptions(Consumer<VpcPeeringConnectionOptionsDescription.Builder> peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.peeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.The Region in which the VPC is located.The ID of the VPC.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, sdkFieldNameToField, sdkFields
-
Method Details
-
cidrBlock
The IPv4 CIDR block for the VPC.
- Parameters:
cidrBlock- The IPv4 CIDR block for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlockSet
The IPv6 CIDR block for the VPC.
- Parameters:
ipv6CidrBlockSet- The IPv6 CIDR block for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlockSet
The IPv6 CIDR block for the VPC.
- Parameters:
ipv6CidrBlockSet- The IPv6 CIDR block for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlockSet
VpcPeeringConnectionVpcInfo.Builder ipv6CidrBlockSet(Consumer<Ipv6CidrBlock.Builder>... ipv6CidrBlockSet) The IPv6 CIDR block for the VPC.
This is a convenience method that creates an instance of theIpv6CidrBlock.Builderavoiding the need to create one manually viaIpv6CidrBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toipv6CidrBlockSet(List<Ipv6CidrBlock>).- Parameters:
ipv6CidrBlockSet- a consumer that will call methods onIpv6CidrBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
cidrBlockSet
Information about the IPv4 CIDR blocks for the VPC.
- Parameters:
cidrBlockSet- Information about the IPv4 CIDR blocks for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlockSet
Information about the IPv4 CIDR blocks for the VPC.
- Parameters:
cidrBlockSet- Information about the IPv4 CIDR blocks for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlockSet
Information about the IPv4 CIDR blocks for the VPC.
This is a convenience method that creates an instance of theCidrBlock.Builderavoiding the need to create one manually viaCidrBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocidrBlockSet(List<CidrBlock>).- Parameters:
cidrBlockSet- a consumer that will call methods onCidrBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
The ID of the Amazon Web Services account that owns the VPC.
- Parameters:
ownerId- The ID of the Amazon Web Services account that owns the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peeringOptions
VpcPeeringConnectionVpcInfo.Builder peeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.
- Parameters:
peeringOptions- Information about the VPC peering connection options for the accepter or requester VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
peeringOptions
default VpcPeeringConnectionVpcInfo.Builder peeringOptions(Consumer<VpcPeeringConnectionOptionsDescription.Builder> peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.
This is a convenience method that creates an instance of theVpcPeeringConnectionOptionsDescription.Builderavoiding the need to create one manually viaVpcPeeringConnectionOptionsDescription.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topeeringOptions(VpcPeeringConnectionOptionsDescription).- Parameters:
peeringOptions- a consumer that will call methods onVpcPeeringConnectionOptionsDescription.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.
-
region
The Region in which the VPC is located.
- Parameters:
region- The Region in which the VPC is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-