|
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(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 |
setIsDefault(Boolean isDefault)
|
void |
setState(String 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 |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Vpc()
Method Detail |
---|
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
.
pending
or available
.public void setState(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(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 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 List<Tag> getTags()
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()
public void setInstanceTenancy(String instanceTenancy)
instanceTenancy
- The allowed tenancy of instances launched into the VPC.public Vpc withInstanceTenancy(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 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 Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |