@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Vpc extends Object implements Serializable, Cloneable
Describes a VPC.
Constructor and Description |
---|
Vpc() |
Modifier and Type | Method and Description |
---|---|
Vpc |
clone() |
boolean |
equals(Object obj) |
String |
getCidrBlock()
The primary IPv4 CIDR block for the VPC.
|
List<VpcCidrBlockAssociation> |
getCidrBlockAssociationSet()
Information about the IPv4 CIDR blocks associated with the VPC.
|
String |
getDhcpOptionsId()
The ID of the set of DHCP options you've associated with the VPC.
|
String |
getInstanceTenancy()
The allowed tenancy of instances launched into the VPC.
|
List<VpcIpv6CidrBlockAssociation> |
getIpv6CidrBlockAssociationSet()
Information about the IPv6 CIDR blocks associated with the VPC.
|
Boolean |
getIsDefault()
Indicates whether the VPC is the default VPC.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the VPC.
|
String |
getState()
The current state of the VPC.
|
List<Tag> |
getTags()
Any tags assigned to the VPC.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
Boolean |
isDefault()
Indicates whether the VPC is the default VPC.
|
void |
setCidrBlock(String cidrBlock)
The primary IPv4 CIDR block for the VPC.
|
void |
setCidrBlockAssociationSet(Collection<VpcCidrBlockAssociation> cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.
|
void |
setDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options you've 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 |
setIpv6CidrBlockAssociationSet(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.
|
void |
setIsDefault(Boolean isDefault)
Indicates whether the VPC is the default VPC.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.
|
void |
setState(String state)
The current state of the VPC.
|
void |
setState(VpcState state)
The current state of the VPC.
|
void |
setTags(Collection<Tag> tags)
Any tags assigned to the VPC.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object.
|
Vpc |
withCidrBlock(String cidrBlock)
The primary IPv4 CIDR block for the VPC.
|
Vpc |
withCidrBlockAssociationSet(Collection<VpcCidrBlockAssociation> cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.
|
Vpc |
withCidrBlockAssociationSet(VpcCidrBlockAssociation... cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.
|
Vpc |
withDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options you've 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 |
withIpv6CidrBlockAssociationSet(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.
|
Vpc |
withIpv6CidrBlockAssociationSet(VpcIpv6CidrBlockAssociation... ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.
|
Vpc |
withIsDefault(Boolean isDefault)
Indicates whether the VPC is the default VPC.
|
Vpc |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.
|
Vpc |
withState(String state)
The current state of the VPC.
|
Vpc |
withState(VpcState state)
The current state of the VPC.
|
Vpc |
withTags(Collection<Tag> tags)
Any tags assigned to the VPC.
|
Vpc |
withTags(Tag... tags)
Any tags assigned to the VPC.
|
Vpc |
withVpcId(String vpcId)
The ID of the VPC.
|
public void setCidrBlock(String cidrBlock)
The primary IPv4 CIDR block for the VPC.
cidrBlock
- The primary IPv4 CIDR block for the VPC.public String getCidrBlock()
The primary IPv4 CIDR block for the VPC.
public Vpc withCidrBlock(String cidrBlock)
The primary IPv4 CIDR block for the VPC.
cidrBlock
- The primary IPv4 CIDR block for the VPC.public void setDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options you've associated with the VPC.
dhcpOptionsId
- The ID of the set of DHCP options you've associated with the VPC.public String getDhcpOptionsId()
The ID of the set of DHCP options you've associated with the VPC.
public Vpc withDhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options you've associated with the VPC.
dhcpOptionsId
- The ID of the set of DHCP options you've associated with the VPC.public void setState(String state)
The current state of the VPC.
state
- The current state of the VPC.VpcState
public String getState()
The current state of the VPC.
VpcState
public Vpc withState(String state)
The current state of the VPC.
state
- The current state of the VPC.VpcState
public void setState(VpcState state)
The current state of the VPC.
state
- The current state of the VPC.VpcState
public Vpc withState(VpcState state)
The current state of the VPC.
state
- The current state of the VPC.VpcState
public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public Vpc withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.
ownerId
- The ID of the Amazon Web Services account that owns the VPC.public String getOwnerId()
The ID of the Amazon Web Services account that owns the VPC.
public Vpc withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the VPC.
ownerId
- The ID of the Amazon Web Services account that owns the VPC.public void setInstanceTenancy(String instanceTenancy)
The allowed tenancy of instances launched into the VPC.
instanceTenancy
- The allowed tenancy of instances launched into the VPC.Tenancy
public String getInstanceTenancy()
The allowed tenancy of instances launched into the VPC.
Tenancy
public Vpc withInstanceTenancy(String instanceTenancy)
The allowed tenancy of instances launched into the VPC.
instanceTenancy
- The allowed tenancy of instances launched into the VPC.Tenancy
public void setInstanceTenancy(Tenancy instanceTenancy)
The allowed tenancy of instances launched into the VPC.
instanceTenancy
- The allowed tenancy of instances launched into the VPC.Tenancy
public Vpc withInstanceTenancy(Tenancy instanceTenancy)
The allowed tenancy of instances launched into the VPC.
instanceTenancy
- The allowed tenancy of instances launched into the VPC.Tenancy
public List<VpcIpv6CidrBlockAssociation> getIpv6CidrBlockAssociationSet()
Information about the IPv6 CIDR blocks associated with the VPC.
public void setIpv6CidrBlockAssociationSet(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.
ipv6CidrBlockAssociationSet
- Information about the IPv6 CIDR blocks associated with the VPC.public Vpc withIpv6CidrBlockAssociationSet(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.public Vpc withIpv6CidrBlockAssociationSet(Collection<VpcIpv6CidrBlockAssociation> ipv6CidrBlockAssociationSet)
Information about the IPv6 CIDR blocks associated with the VPC.
ipv6CidrBlockAssociationSet
- Information about the IPv6 CIDR blocks associated with the VPC.public List<VpcCidrBlockAssociation> getCidrBlockAssociationSet()
Information about the IPv4 CIDR blocks associated with the VPC.
public void setCidrBlockAssociationSet(Collection<VpcCidrBlockAssociation> cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.
cidrBlockAssociationSet
- Information about the IPv4 CIDR blocks associated with the VPC.public Vpc withCidrBlockAssociationSet(VpcCidrBlockAssociation... cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.
NOTE: This method appends the values to the existing list (if any). Use
setCidrBlockAssociationSet(java.util.Collection)
or
withCidrBlockAssociationSet(java.util.Collection)
if you want to override the existing values.
cidrBlockAssociationSet
- Information about the IPv4 CIDR blocks associated with the VPC.public Vpc withCidrBlockAssociationSet(Collection<VpcCidrBlockAssociation> cidrBlockAssociationSet)
Information about the IPv4 CIDR blocks associated with the VPC.
cidrBlockAssociationSet
- Information about the IPv4 CIDR blocks associated with the VPC.public void setIsDefault(Boolean isDefault)
Indicates whether the VPC is the default VPC.
isDefault
- Indicates whether the VPC is the default VPC.public Boolean getIsDefault()
Indicates whether the VPC is the default VPC.
public Vpc withIsDefault(Boolean isDefault)
Indicates whether the VPC is the default VPC.
isDefault
- Indicates whether the VPC is the default VPC.public Boolean isDefault()
Indicates whether the VPC is the default VPC.
public List<Tag> getTags()
Any tags assigned to the VPC.
public void setTags(Collection<Tag> tags)
Any tags assigned to the VPC.
tags
- Any tags assigned to the VPC.public Vpc withTags(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.public Vpc withTags(Collection<Tag> tags)
Any tags assigned to the VPC.
tags
- Any tags assigned to the VPC.public String toString()
toString
in class Object
Object.toString()