Interface AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder,
,AwsEc2VpcPeeringConnectionVpcInfoDetails> SdkBuilder<AwsEc2VpcPeeringConnectionVpcInfoDetails.Builder,
,AwsEc2VpcPeeringConnectionVpcInfoDetails> SdkPojo
- Enclosing class:
AwsEc2VpcPeeringConnectionVpcInfoDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe IPv4 CIDR block for the VPC.cidrBlockSet
(Collection<VpcInfoCidrBlockSetDetails> cidrBlockSet) Information about the IPv4 CIDR blocks for the VPC.cidrBlockSet
(Consumer<VpcInfoCidrBlockSetDetails.Builder>... cidrBlockSet) Information about the IPv4 CIDR blocks for the VPC.cidrBlockSet
(VpcInfoCidrBlockSetDetails... cidrBlockSet) Information about the IPv4 CIDR blocks for the VPC.ipv6CidrBlockSet
(Collection<VpcInfoIpv6CidrBlockSetDetails> ipv6CidrBlockSet) The IPv6 CIDR block for the VPC.ipv6CidrBlockSet
(Consumer<VpcInfoIpv6CidrBlockSetDetails.Builder>... ipv6CidrBlockSet) The IPv6 CIDR block for the VPC.ipv6CidrBlockSet
(VpcInfoIpv6CidrBlockSetDetails... ipv6CidrBlockSet) The IPv6 CIDR block for the VPC.The ID of the Amazon Web Services account that owns the VPC.peeringOptions
(Consumer<VpcInfoPeeringOptionsDetails.Builder> peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.peeringOptions
(VpcInfoPeeringOptionsDetails peeringOptions) Information about the VPC peering connection options for the accepter or requester VPC.The Amazon Web Services Region in which the VPC is located.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 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.
-
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.Builder
avoiding the need to create one manually viaVpcInfoCidrBlockSetDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocidrBlockSet(List<VpcInfoCidrBlockSetDetails>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaVpcInfoIpv6CidrBlockSetDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toipv6CidrBlockSet(List<VpcInfoIpv6CidrBlockSetDetails>)
.- 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:
-
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.Builder
avoiding the need to create one manually viaVpcInfoPeeringOptionsDetails.builder()
.When the
Consumer
completes,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:
-
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
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.
-