Interface Vpc.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Vpc.Builder,
,Vpc> SdkBuilder<Vpc.Builder,
,Vpc> SdkPojo
- Enclosing class:
Vpc
-
Method Summary
Modifier and TypeMethodDescriptionThe primary IPv4 CIDR block for the VPC.cidrBlockAssociationSet
(Collection<VpcCidrBlockAssociation> cidrBlockAssociationSet) Information about the IPv4 CIDR blocks associated with the VPC.cidrBlockAssociationSet
(Consumer<VpcCidrBlockAssociation.Builder>... cidrBlockAssociationSet) Information about the IPv4 CIDR blocks associated with the VPC.cidrBlockAssociationSet
(VpcCidrBlockAssociation... cidrBlockAssociationSet) Information about the IPv4 CIDR blocks associated with the VPC.dhcpOptionsId
(String dhcpOptionsId) The ID of the set of DHCP options you've associated with the VPC.instanceTenancy
(String instanceTenancy) The allowed tenancy of instances launched into the VPC.instanceTenancy
(Tenancy instanceTenancy) The allowed tenancy of instances launched into the VPC.ipv6CidrBlockAssociationSet
(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet) Information about the IPv6 CIDR blocks associated with the VPC.ipv6CidrBlockAssociationSet
(Consumer<VpcIpv6CidrBlockAssociation.Builder>... ipv6CidrBlockAssociationSet) Information about the IPv6 CIDR blocks associated with the VPC.ipv6CidrBlockAssociationSet
(VpcIpv6CidrBlockAssociation... ipv6CidrBlockAssociationSet) Information about the IPv6 CIDR blocks associated with the VPC.Indicates whether the VPC is the default VPC.The ID of the Amazon Web Services account that owns the VPC.The current state of the VPC.The current state of the VPC.tags
(Collection<Tag> tags) Any tags assigned to the VPC.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the VPC.Any tags assigned to the VPC.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, sdkFields
-
Method Details
-
cidrBlock
The primary IPv4 CIDR block for the VPC.
- Parameters:
cidrBlock
- The primary IPv4 CIDR block for the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dhcpOptionsId
The ID of the set of DHCP options you've associated with the VPC.
- Parameters:
dhcpOptionsId
- The ID of the set of DHCP options you've associated with the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The current state of the VPC.
- Parameters:
state
- The current state of the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The current state of the VPC.
- Parameters:
state
- The current state of the VPC.- 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.
-
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.
-
instanceTenancy
The allowed tenancy of instances launched into the VPC.
- Parameters:
instanceTenancy
- The allowed tenancy of instances launched into the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceTenancy
The allowed tenancy of instances launched into the VPC.
- Parameters:
instanceTenancy
- The allowed tenancy of instances launched into the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ipv6CidrBlockAssociationSet
Vpc.Builder ipv6CidrBlockAssociationSet(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet) Information about the IPv6 CIDR blocks associated with the VPC.
- Parameters:
ipv6CidrBlockAssociationSet
- Information about the IPv6 CIDR blocks associated with the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlockAssociationSet
Information about the IPv6 CIDR blocks associated with the VPC.
- Parameters:
ipv6CidrBlockAssociationSet
- Information about the IPv6 CIDR blocks associated with the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipv6CidrBlockAssociationSet
Vpc.Builder ipv6CidrBlockAssociationSet(Consumer<VpcIpv6CidrBlockAssociation.Builder>... ipv6CidrBlockAssociationSet) Information about the IPv6 CIDR blocks associated with the VPC.
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 toipv6CidrBlockAssociationSet(List<VpcIpv6CidrBlockAssociation>)
.- Parameters:
ipv6CidrBlockAssociationSet
- 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:
-
cidrBlockAssociationSet
Information about the IPv4 CIDR blocks associated with the VPC.
- Parameters:
cidrBlockAssociationSet
- Information about the IPv4 CIDR blocks associated with the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlockAssociationSet
Information about the IPv4 CIDR blocks associated with the VPC.
- Parameters:
cidrBlockAssociationSet
- Information about the IPv4 CIDR blocks associated with the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cidrBlockAssociationSet
Vpc.Builder cidrBlockAssociationSet(Consumer<VpcCidrBlockAssociation.Builder>... cidrBlockAssociationSet) Information about the IPv4 CIDR blocks associated with the VPC.
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 tocidrBlockAssociationSet(List<VpcCidrBlockAssociation>)
.- Parameters:
cidrBlockAssociationSet
- 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:
-
isDefault
Indicates whether the VPC is the default VPC.
- Parameters:
isDefault
- Indicates whether the VPC is the default VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the VPC.
- Parameters:
tags
- Any tags assigned to the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the VPC.
- Parameters:
tags
- Any tags assigned to the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags assigned to the VPC.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-