CopyableBuilder<Vpc.Builder,Vpc>
, SdkBuilder<Vpc.Builder,Vpc>
public static interface Vpc.Builder extends CopyableBuilder<Vpc.Builder,Vpc>
Modifier and Type | Method | Description |
---|---|---|
Vpc.Builder |
cidrBlock(String cidrBlock) |
The IPv4 CIDR block for the VPC.
|
Vpc.Builder |
dhcpOptionsId(String dhcpOptionsId) |
The ID of the set of DHCP options you've associated with the VPC (or
default if the default
options are 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(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 |
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(Tag... tags) |
Any tags assigned to the VPC.
|
Vpc.Builder |
vpcId(String vpcId) |
The ID of the VPC.
|
copy
apply, build
Vpc.Builder cidrBlock(String cidrBlock)
The IPv4 CIDR block for the VPC.
cidrBlock
- The IPv4 CIDR block for the VPC.Vpc.Builder dhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options you've associated with the VPC (or default
if the default
options are associated with the VPC).
dhcpOptionsId
- The ID of the set of DHCP options you've associated with the VPC (or default
if the
default options are associated with the VPC).Vpc.Builder state(String state)
The current state of the VPC.
state
- The current state of the VPC.VpcState
Vpc.Builder state(VpcState state)
The current state of the VPC.
state
- The current state of the VPC.VpcState
Vpc.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.Vpc.Builder instanceTenancy(String instanceTenancy)
The allowed tenancy of instances launched into the VPC.
instanceTenancy
- The allowed tenancy of instances launched into the VPC.Tenancy
Vpc.Builder instanceTenancy(Tenancy instanceTenancy)
The allowed tenancy of instances launched into the VPC.
instanceTenancy
- The allowed tenancy of instances launched into the VPC.Tenancy
Vpc.Builder ipv6CidrBlockAssociationSet(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.
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.
NOTE: This method appends the values to the existing list (if any). Use
#setIpv6CidrBlockAssociationSet(java.util.Collection)
or
#withIpv6CidrBlockAssociationSet(java.util.Collection)
if you want to override the existing values.
ipv6CidrBlockAssociationSet
- Information about the IPv6 CIDR blocks associated with the VPC.Vpc.Builder isDefault(Boolean isDefault)
Indicates whether the VPC is the default VPC.
isDefault
- Indicates whether the VPC is the default VPC.Vpc.Builder tags(Collection<Tag> tags)
Any tags assigned to the VPC.
tags
- Any tags assigned to the VPC.Vpc.Builder tags(Tag... tags)
Any tags assigned to the VPC.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags assigned to the VPC.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.