Interface Vpc.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<Vpc.Builder,Vpc>
,SdkBuilder<Vpc.Builder,Vpc>
,SdkPojo
- Enclosing class:
- Vpc
public static interface Vpc.Builder extends SdkPojo, CopyableBuilder<Vpc.Builder,Vpc>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vpc.Builder
cidrBlock(String cidrBlock)
The primary IPv4 CIDR block for the VPC.Vpc.Builder
cidrBlockAssociationSet(Collection<VpcCidrBlockAssociation> cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.Vpc.Builder
cidrBlockAssociationSet(Consumer<VpcCidrBlockAssociation.Builder>... cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.Vpc.Builder
cidrBlockAssociationSet(VpcCidrBlockAssociation... cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.Vpc.Builder
dhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options you've associated with the VPC.Vpc.Builder
instanceTenancy(String instanceTenancy)
The allowed tenancy of instances launched into the VPC.Vpc.Builder
instanceTenancy(Tenancy instanceTenancy)
The allowed tenancy of instances launched into the VPC.Vpc.Builder
ipv6CidrBlockAssociationSet(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.Vpc.Builder
ipv6CidrBlockAssociationSet(Consumer<VpcIpv6CidrBlockAssociation.Builder>... ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.Vpc.Builder
ipv6CidrBlockAssociationSet(VpcIpv6CidrBlockAssociation... ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.Vpc.Builder
isDefault(Boolean isDefault)
Indicates whether the VPC is the default VPC.Vpc.Builder
ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.Vpc.Builder
state(String state)
The current state of the VPC.Vpc.Builder
state(VpcState state)
The current state of the VPC.Vpc.Builder
tags(Collection<Tag> tags)
Any tags assigned to the VPC.Vpc.Builder
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the VPC.Vpc.Builder
tags(Tag... tags)
Any tags assigned to the VPC.Vpc.Builder
vpcId(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, sdkFields
-
-
-
-
Method Detail
-
cidrBlock
Vpc.Builder cidrBlock(String 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
Vpc.Builder dhcpOptionsId(String 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
Vpc.Builder state(String state)
The current state of the VPC.
-
state
Vpc.Builder state(VpcState state)
The current state of the VPC.
-
vpcId
Vpc.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.
-
ownerId
Vpc.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.
-
instanceTenancy
Vpc.Builder instanceTenancy(String instanceTenancy)
The allowed tenancy of instances launched into the VPC.
-
instanceTenancy
Vpc.Builder instanceTenancy(Tenancy instanceTenancy)
The allowed tenancy of instances launched into the VPC.
-
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
Vpc.Builder ipv6CidrBlockAssociationSet(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
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 to#ipv6CidrBlockAssociationSet(List
.) - 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:
#ipv6CidrBlockAssociationSet(java.util.Collection
)
-
cidrBlockAssociationSet
Vpc.Builder cidrBlockAssociationSet(Collection<VpcCidrBlockAssociation> 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(VpcCidrBlockAssociation... 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 to#cidrBlockAssociationSet(List
.) - 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:
#cidrBlockAssociationSet(java.util.Collection
)
-
isDefault
Vpc.Builder isDefault(Boolean 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
Vpc.Builder tags(Collection<Tag> 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
Vpc.Builder tags(Tag... 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
Vpc.Builder tags(Consumer<Tag.Builder>... 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-