Interface VpcPeeringConnectionVpcInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VpcPeeringConnectionVpcInfo.Builder,VpcPeeringConnectionVpcInfo>,SdkBuilder<VpcPeeringConnectionVpcInfo.Builder,VpcPeeringConnectionVpcInfo>,SdkPojo
- Enclosing class:
- VpcPeeringConnectionVpcInfo
public static interface VpcPeeringConnectionVpcInfo.Builder extends SdkPojo, CopyableBuilder<VpcPeeringConnectionVpcInfo.Builder,VpcPeeringConnectionVpcInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VpcPeeringConnectionVpcInfo.BuildercidrBlock(String cidrBlock)The IPv4 CIDR block for the VPC.VpcPeeringConnectionVpcInfo.BuildercidrBlockSet(Collection<CidrBlock> cidrBlockSet)Information about the IPv4 CIDR blocks for the VPC.VpcPeeringConnectionVpcInfo.BuildercidrBlockSet(Consumer<CidrBlock.Builder>... cidrBlockSet)Information about the IPv4 CIDR blocks for the VPC.VpcPeeringConnectionVpcInfo.BuildercidrBlockSet(CidrBlock... cidrBlockSet)Information about the IPv4 CIDR blocks for the VPC.VpcPeeringConnectionVpcInfo.Builderipv6CidrBlockSet(Collection<Ipv6CidrBlock> ipv6CidrBlockSet)The IPv6 CIDR block for the VPC.VpcPeeringConnectionVpcInfo.Builderipv6CidrBlockSet(Consumer<Ipv6CidrBlock.Builder>... ipv6CidrBlockSet)The IPv6 CIDR block for the VPC.VpcPeeringConnectionVpcInfo.Builderipv6CidrBlockSet(Ipv6CidrBlock... ipv6CidrBlockSet)The IPv6 CIDR block for the VPC.VpcPeeringConnectionVpcInfo.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the VPC.default VpcPeeringConnectionVpcInfo.BuilderpeeringOptions(Consumer<VpcPeeringConnectionOptionsDescription.Builder> peeringOptions)Information about the VPC peering connection options for the accepter or requester VPC.VpcPeeringConnectionVpcInfo.BuilderpeeringOptions(VpcPeeringConnectionOptionsDescription peeringOptions)Information about the VPC peering connection options for the accepter or requester VPC.VpcPeeringConnectionVpcInfo.Builderregion(String region)The Region in which the VPC is located.VpcPeeringConnectionVpcInfo.BuildervpcId(String vpcId)The ID of the VPC.-
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
-
cidrBlock
VpcPeeringConnectionVpcInfo.Builder cidrBlock(String 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
VpcPeeringConnectionVpcInfo.Builder ipv6CidrBlockSet(Collection<Ipv6CidrBlock> 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(Ipv6CidrBlock... 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 to#ipv6CidrBlockSet(List.) - 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:
#ipv6CidrBlockSet(java.util.Collection)
-
cidrBlockSet
VpcPeeringConnectionVpcInfo.Builder cidrBlockSet(Collection<CidrBlock> 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
VpcPeeringConnectionVpcInfo.Builder cidrBlockSet(CidrBlock... 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
VpcPeeringConnectionVpcInfo.Builder cidrBlockSet(Consumer<CidrBlock.Builder>... 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 to#cidrBlockSet(List.) - 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:
#cidrBlockSet(java.util.Collection)
-
ownerId
VpcPeeringConnectionVpcInfo.Builder ownerId(String 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:
peeringOptions(VpcPeeringConnectionOptionsDescription)
-
vpcId
VpcPeeringConnectionVpcInfo.Builder vpcId(String 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
VpcPeeringConnectionVpcInfo.Builder region(String 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.
-
-