Interface AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder,AwsEc2VpcPeeringConnectionVpcInfoDetails>,SdkBuilder<AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder,AwsEc2VpcPeeringConnectionVpcInfoDetails>,SdkPojo
- Enclosing class:
- AwsEc2VpcPeeringConnectionVpcInfoDetails
public static interface AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder,AwsEc2VpcPeeringConnectionVpcInfoDetails>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
cidrBlock
AwsEc2VpcPeeringConnectionVpcInfoDetails.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.
-
cidrBlockSet
AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder cidrBlockSet(Collection<VpcInfoCidrBlockSetDetails> 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
AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder cidrBlockSet(VpcInfoCidrBlockSetDetails... 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
AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder cidrBlockSet(Consumer<VpcInfoCidrBlockSetDetails.Builder>... cidrBlockSet)
Information about the IPv4 CIDR blocks for the VPC.
This is a convenience method that creates an instance of theVpcInfoCidrBlockSetDetails.Builderavoiding the need to create one manually viaVpcInfoCidrBlockSetDetails.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 onVpcInfoCidrBlockSetDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#cidrBlockSet(java.util.Collection)
-
ipv6CidrBlockSet
AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder ipv6CidrBlockSet(Collection<VpcInfoIpv6CidrBlockSetDetails> 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
AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder ipv6CidrBlockSet(VpcInfoIpv6CidrBlockSetDetails... 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
AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder ipv6CidrBlockSet(Consumer<VpcInfoIpv6CidrBlockSetDetails.Builder>... ipv6CidrBlockSet)
The IPv6 CIDR block for the VPC.
This is a convenience method that creates an instance of theVpcInfoIpv6CidrBlockSetDetails.Builderavoiding the need to create one manually viaVpcInfoIpv6CidrBlockSetDetails.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 onVpcInfoIpv6CidrBlockSetDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ipv6CidrBlockSet(java.util.Collection)
-
ownerId
AwsEc2VpcPeeringConnectionVpcInfoDetails.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
AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder peeringOptions(VpcInfoPeeringOptionsDetails 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 AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder peeringOptions(Consumer<VpcInfoPeeringOptionsDetails.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 theVpcInfoPeeringOptionsDetails.Builderavoiding the need to create one manually viaVpcInfoPeeringOptionsDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topeeringOptions(VpcInfoPeeringOptionsDetails).- Parameters:
peeringOptions- a consumer that will call methods onVpcInfoPeeringOptionsDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
peeringOptions(VpcInfoPeeringOptionsDetails)
-
region
AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder region(String region)
The Amazon Web Services Region in which the VPC is located.
- Parameters:
region- The Amazon Web Services Region in which the VPC is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
AwsEc2VpcPeeringConnectionVpcInfoDetails.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.
-
-