Class Vpc
- All Implemented Interfaces:
Serializable, Cloneable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe CIDR block for the VPC.The ID of the set of DHCP options you've associated with the VPC (ordefaultif the default options are associated with the VPC).The allowed tenancy of instances launched into the VPC.Indicates whether the VPC is the default VPC.getState()The current state of the VPC.getTags()Any tags assigned to the VPC.getVpcId()The ID of the VPC.inthashCode()Indicates whether the VPC is the default VPC.voidsetCidrBlock(String cidrBlock) The CIDR block for the VPC.voidsetDhcpOptionsId(String dhcpOptionsId) The ID of the set of DHCP options you've associated with the VPC (ordefaultif the default options are associated with the VPC).voidsetInstanceTenancy(Tenancy instanceTenancy) The allowed tenancy of instances launched into the VPC.voidsetInstanceTenancy(String instanceTenancy) The allowed tenancy of instances launched into the VPC.voidsetIsDefault(Boolean isDefault) Indicates whether the VPC is the default VPC.voidThe current state of the VPC.voidThe current state of the VPC.voidsetTags(Collection<Tag> tags) Any tags assigned to the VPC.voidThe ID of the VPC.toString()Returns a string representation of this object; useful for testing and debugging.withCidrBlock(String cidrBlock) The CIDR block for the VPC.withDhcpOptionsId(String dhcpOptionsId) The ID of the set of DHCP options you've associated with the VPC (ordefaultif the default options are associated with the VPC).withInstanceTenancy(Tenancy instanceTenancy) The allowed tenancy of instances launched into the VPC.withInstanceTenancy(String instanceTenancy) The allowed tenancy of instances launched into the VPC.withIsDefault(Boolean isDefault) Indicates whether the VPC is the default VPC.The current state of the VPC.The current state of the VPC.Any tags assigned to the VPC.withTags(Collection<Tag> tags) Any tags assigned to the VPC.The ID of the VPC.
-
Constructor Details
-
Vpc
public Vpc()
-
-
Method Details
-
setVpcId
-
getVpcId
-
withVpcId
-
setState
The current state of the VPC.
- Parameters:
state- The current state of the VPC.- See Also:
-
getState
The current state of the VPC.
- Returns:
- The current state of the VPC.
- See Also:
-
withState
-
setState
The current state of the VPC.
- Parameters:
state- The current state of the VPC.- See Also:
-
withState
-
setCidrBlock
The CIDR block for the VPC.
- Parameters:
cidrBlock- The CIDR block for the VPC.
-
getCidrBlock
-
withCidrBlock
-
setDhcpOptionsId
The ID of the set of DHCP options you've associated with the VPC (or
defaultif the default options are associated with the VPC).- Parameters:
dhcpOptionsId- The ID of the set of DHCP options you've associated with the VPC (ordefaultif the default options are associated with the VPC).
-
getDhcpOptionsId
The ID of the set of DHCP options you've associated with the VPC (or
defaultif the default options are associated with the VPC).- Returns:
- The ID of the set of DHCP options you've associated with the VPC
(or
defaultif the default options are associated with the VPC).
-
withDhcpOptionsId
The ID of the set of DHCP options you've associated with the VPC (or
defaultif the default options are associated with the VPC).- Parameters:
dhcpOptionsId- The ID of the set of DHCP options you've associated with the VPC (ordefaultif the default options are associated with the VPC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTags
-
setTags
Any tags assigned to the VPC.
- Parameters:
tags- Any tags assigned to the VPC.
-
withTags
Any tags assigned to the VPC.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)orwithTags(java.util.Collection)if you want to override the existing values.- Parameters:
tags- Any tags assigned to the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withTags
Any tags assigned to the VPC.
- Parameters:
tags- Any tags assigned to the VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInstanceTenancy
The allowed tenancy of instances launched into the VPC.
- Parameters:
instanceTenancy- The allowed tenancy of instances launched into the VPC.- See Also:
-
getInstanceTenancy
The allowed tenancy of instances launched into the VPC.
- Returns:
- The allowed tenancy of instances launched into the VPC.
- See Also:
-
withInstanceTenancy
-
setInstanceTenancy
The allowed tenancy of instances launched into the VPC.
- Parameters:
instanceTenancy- The allowed tenancy of instances launched into the VPC.- See Also:
-
withInstanceTenancy
-
setIsDefault
Indicates whether the VPC is the default VPC.
- Parameters:
isDefault- Indicates whether the VPC is the default VPC.
-
getIsDefault
Indicates whether the VPC is the default VPC.
- Returns:
- Indicates whether the VPC is the default VPC.
-
withIsDefault
-
isDefault
Indicates whether the VPC is the default VPC.
- Returns:
- Indicates whether the VPC is the default VPC.
-
toString
-
equals
-
hashCode
-
clone
-