|
|||||||
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 | |
---|---|
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 |
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. |
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 |
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 |
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 |
---|
equals, getClass, hashCode, 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 toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |