|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.ec2.model.Vpc
public class Vpc
The Vpc data type.
| Constructor Summary | |
|---|---|
Vpc()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getCidrBlock()
Specifies the CIDR block the VPC covers. |
java.lang.String |
getDhcpOptionsId()
Specifies the ID of the set of DHCP options associated with the VPC. |
java.lang.String |
getInstanceTenancy()
The allowed tenancy of instances launched into the VPC. |
java.lang.Boolean |
getIsDefault()
|
java.lang.String |
getState()
Describes the current state of the VPC. |
java.util.List<Tag> |
getTags()
A list of tags for the VPC. |
java.lang.String |
getVpcId()
Specifies the ID of the VPC. |
int |
hashCode()
|
java.lang.Boolean |
isDefault()
|
void |
setCidrBlock(java.lang.String cidrBlock)
Specifies the CIDR block the VPC covers. |
void |
setDhcpOptionsId(java.lang.String dhcpOptionsId)
Specifies the ID of the set of DHCP options associated with the VPC. |
void |
setInstanceTenancy(java.lang.String instanceTenancy)
The allowed tenancy of instances launched into the VPC. |
void |
setIsDefault(java.lang.Boolean isDefault)
|
void |
setState(java.lang.String state)
Describes the current state of the VPC. |
void |
setTags(java.util.Collection<Tag> tags)
A list of tags for the VPC. |
void |
setVpcId(java.lang.String vpcId)
Specifies the ID of the VPC. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Vpc |
withCidrBlock(java.lang.String cidrBlock)
Specifies the CIDR block the VPC covers. |
Vpc |
withDhcpOptionsId(java.lang.String dhcpOptionsId)
Specifies the ID of the set of DHCP options associated with the VPC. |
Vpc |
withInstanceTenancy(java.lang.String instanceTenancy)
The allowed tenancy of instances launched into the VPC. |
Vpc |
withIsDefault(java.lang.Boolean isDefault)
Returns a reference to this object so that method calls can be chained together. |
Vpc |
withState(java.lang.String state)
Describes the current state of the VPC. |
Vpc |
withTags(java.util.Collection<Tag> tags)
A list of tags for the VPC. |
Vpc |
withTags(Tag... tags)
A list of tags for the VPC. |
Vpc |
withVpcId(java.lang.String vpcId)
Specifies the ID of the VPC. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Vpc()
| Method Detail |
|---|
public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId - Specifies the ID of the VPC.public Vpc withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId - Specifies the ID of the VPC.
public java.lang.String getState()
pending or available.
pending or available.public void setState(java.lang.String state)
pending or available.
state - Describes the current state of the VPC. The state of the subnet may be
either pending or available.public Vpc withState(java.lang.String state)
pending or available.
Returns a reference to this object so that method calls can be chained together.
state - Describes the current state of the VPC. The state of the subnet may be
either pending or available.
public java.lang.String getCidrBlock()
public void setCidrBlock(java.lang.String cidrBlock)
cidrBlock - Specifies the CIDR block the VPC covers.public Vpc withCidrBlock(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.List<Tag> getTags()
public void setTags(java.util.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(java.util.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 java.lang.String getInstanceTenancy()
public void setInstanceTenancy(java.lang.String instanceTenancy)
instanceTenancy - The allowed tenancy of instances launched into the VPC.public Vpc withInstanceTenancy(java.lang.String instanceTenancy)
Returns a reference to this object so that method calls can be chained together.
instanceTenancy - The allowed tenancy of instances launched into the VPC.
public java.lang.Boolean isDefault()
public void setIsDefault(java.lang.Boolean isDefault)
isDefault - public Vpc withIsDefault(java.lang.Boolean isDefault)
Returns a reference to this object so that method calls can be chained together.
isDefault -
public java.lang.Boolean getIsDefault()
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||