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 Default Methods Modifier and Type Method Description default Vpc.Builder
blockPublicAccessStates(Consumer<BlockPublicAccessStates.Builder> blockPublicAccessStates)
The state of VPC Block Public Access (BPA).Vpc.Builder
blockPublicAccessStates(BlockPublicAccessStates blockPublicAccessStates)
The state of VPC Block Public Access (BPA).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.default Vpc.Builder
encryptionControl(Consumer<VpcEncryptionControl.Builder> encryptionControl)
Sets the value of the EncryptionControl property for this object.Vpc.Builder
encryptionControl(VpcEncryptionControl encryptionControl)
Sets the value of the EncryptionControl property for this object.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.
-
encryptionControl
Vpc.Builder encryptionControl(VpcEncryptionControl encryptionControl)
Sets the value of the EncryptionControl property for this object.- Parameters:
encryptionControl
- The new value for the EncryptionControl property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionControl
default Vpc.Builder encryptionControl(Consumer<VpcEncryptionControl.Builder> encryptionControl)
Sets the value of the EncryptionControl property for this object. This is a convenience method that creates an instance of theVpcEncryptionControl.Builder
avoiding the need to create one manually viaVpcEncryptionControl.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionControl(VpcEncryptionControl)
.- Parameters:
encryptionControl
- a consumer that will call methods onVpcEncryptionControl.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryptionControl(VpcEncryptionControl)
-
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
)
-
blockPublicAccessStates
Vpc.Builder blockPublicAccessStates(BlockPublicAccessStates blockPublicAccessStates)
The state of VPC Block Public Access (BPA).
- Parameters:
blockPublicAccessStates
- The state of VPC Block Public Access (BPA).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blockPublicAccessStates
default Vpc.Builder blockPublicAccessStates(Consumer<BlockPublicAccessStates.Builder> blockPublicAccessStates)
The state of VPC Block Public Access (BPA).
This is a convenience method that creates an instance of theBlockPublicAccessStates.Builder
avoiding the need to create one manually viaBlockPublicAccessStates.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toblockPublicAccessStates(BlockPublicAccessStates)
.- Parameters:
blockPublicAccessStates
- a consumer that will call methods onBlockPublicAccessStates.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
blockPublicAccessStates(BlockPublicAccessStates)
-
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.
-
state
Vpc.Builder state(String state)
The current state of the VPC.
-
state
Vpc.Builder state(VpcState state)
The current state of the VPC.
-
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.
-
-