public class Vpc extends Object implements Serializable
The Vpc data type.
| Constructor and Description |
|---|
Vpc() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getCidrBlock()
Specifies the CIDR block the VPC covers.
|
String |
getDhcpOptionsId()
Specifies the ID of the set of DHCP options associated with the VPC.
|
String |
getInstanceTenancy()
The allowed tenancy of instances launched into the VPC.
|
Boolean |
getIsDefault() |
String |
getState()
Describes the current state of the VPC.
|
List<Tag> |
getTags()
A list of tags for the VPC.
|
String |
getVpcId()
Specifies the ID of the VPC.
|
int |
hashCode() |
Boolean |
isDefault() |
void |
setCidrBlock(String cidrBlock)
Specifies the CIDR block the VPC covers.
|
void |
setDhcpOptionsId(String dhcpOptionsId)
Specifies the ID of the set of DHCP options associated with the VPC.
|
void |
setInstanceTenancy(String instanceTenancy)
The allowed tenancy of instances launched into the VPC.
|
void |
setInstanceTenancy(Tenancy instanceTenancy)
The allowed tenancy of instances launched into the VPC.
|
void |
setIsDefault(Boolean isDefault) |
void |
setState(String state)
Describes the current state of the VPC.
|
void |
setState(VpcState state)
Describes the current state of the VPC.
|
void |
setTags(Collection<Tag> tags)
A list of tags for the VPC.
|
void |
setVpcId(String vpcId)
Specifies the ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Vpc |
withCidrBlock(String cidrBlock)
Specifies the CIDR block the VPC covers.
|
Vpc |
withDhcpOptionsId(String dhcpOptionsId)
Specifies the ID of the set of DHCP options associated with the VPC.
|
Vpc |
withInstanceTenancy(String instanceTenancy)
The allowed tenancy of instances launched into the VPC.
|
Vpc |
withInstanceTenancy(Tenancy instanceTenancy)
The allowed tenancy of instances launched into the VPC.
|
Vpc |
withIsDefault(Boolean isDefault)
Returns a reference to this object so that method calls can be chained together.
|
Vpc |
withState(String state)
Describes the current state of the VPC.
|
Vpc |
withState(VpcState state)
Describes the current state of the VPC.
|
Vpc |
withTags(Collection<Tag> tags)
A list of tags for the VPC.
|
Vpc |
withTags(Tag... tags)
A list of tags for the VPC.
|
Vpc |
withVpcId(String vpcId)
Specifies the ID of the VPC.
|
public String getVpcId()
public void setVpcId(String vpcId)
vpcId - Specifies the ID of the VPC.public Vpc withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId - Specifies the ID of the VPC.public String getState()
pending or available.
Constraints:
Allowed Values: pending, available
pending or available.VpcStatepublic void setState(String state)
pending or available.
Constraints:
Allowed Values: pending, available
state - Describes the current state of the VPC. The state of the subnet may be
either pending or available.VpcStatepublic Vpc withState(String state)
pending or available.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, available
state - Describes the current state of the VPC. The state of the subnet may be
either pending or available.VpcStatepublic void setState(VpcState state)
pending or available.
Constraints:
Allowed Values: pending, available
state - Describes the current state of the VPC. The state of the subnet may be
either pending or available.VpcStatepublic Vpc withState(VpcState state)
pending or available.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: pending, available
state - Describes the current state of the VPC. The state of the subnet may be
either pending or available.VpcStatepublic String getCidrBlock()
public void setCidrBlock(String cidrBlock)
cidrBlock - Specifies the CIDR block the VPC covers.public Vpc withCidrBlock(String cidrBlock)
Returns a reference to this object so that method calls can be chained together.
cidrBlock - Specifies the CIDR block the VPC covers.public String getDhcpOptionsId()
default if the default options are
associated with the VPC.default if the default options are
associated with the VPC.public void setDhcpOptionsId(String dhcpOptionsId)
default if the default options are
associated with the VPC.dhcpOptionsId - Specifies the ID of the set of DHCP options associated with the VPC.
Contains a value of default if the default options are
associated with the VPC.public Vpc withDhcpOptionsId(String dhcpOptionsId)
default if the default options are
associated with the VPC.
Returns a reference to this object so that method calls can be chained together.
dhcpOptionsId - Specifies the ID of the set of DHCP options associated with the VPC.
Contains a value of default if the default options are
associated with the VPC.public void setTags(Collection<Tag> tags)
tags - A list of tags for the VPC.public Vpc withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags - A list of tags for the VPC.public Vpc withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags - A list of tags for the VPC.public String getInstanceTenancy()
Constraints:
Allowed Values: default, dedicated
Tenancypublic void setInstanceTenancy(String instanceTenancy)
Constraints:
Allowed Values: default, dedicated
instanceTenancy - The allowed tenancy of instances launched into the VPC.Tenancypublic Vpc withInstanceTenancy(String instanceTenancy)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated
instanceTenancy - The allowed tenancy of instances launched into the VPC.Tenancypublic void setInstanceTenancy(Tenancy instanceTenancy)
Constraints:
Allowed Values: default, dedicated
instanceTenancy - The allowed tenancy of instances launched into the VPC.Tenancypublic Vpc withInstanceTenancy(Tenancy instanceTenancy)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: default, dedicated
instanceTenancy - The allowed tenancy of instances launched into the VPC.Tenancypublic Boolean isDefault()
public void setIsDefault(Boolean isDefault)
isDefault - public Vpc withIsDefault(Boolean isDefault)
Returns a reference to this object so that method calls can be chained together.
isDefault - public Boolean getIsDefault()
public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.