@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterSubnetGroup extends Object implements Serializable, Cloneable
Describes a subnet group.
Constructor and Description |
---|
ClusterSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
ClusterSubnetGroup |
clone() |
boolean |
equals(Object obj) |
String |
getClusterSubnetGroupName()
The name of the cluster subnet group.
|
String |
getDescription()
The description of the cluster subnet group.
|
String |
getSubnetGroupStatus()
The status of the cluster subnet group.
|
List<Subnet> |
getSubnets()
A list of the VPC Subnet elements.
|
List<String> |
getSupportedClusterIpAddressTypes()
The IP address types supported by this cluster subnet group.
|
List<Tag> |
getTags()
The list of tags for the cluster subnet group.
|
String |
getVpcId()
The VPC ID of the cluster subnet group.
|
int |
hashCode() |
void |
setClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the cluster subnet group.
|
void |
setDescription(String description)
The description of the cluster subnet group.
|
void |
setSubnetGroupStatus(String subnetGroupStatus)
The status of the cluster subnet group.
|
void |
setSubnets(Collection<Subnet> subnets)
A list of the VPC Subnet elements.
|
void |
setSupportedClusterIpAddressTypes(Collection<String> supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group.
|
void |
setTags(Collection<Tag> tags)
The list of tags for the cluster subnet group.
|
void |
setVpcId(String vpcId)
The VPC ID of the cluster subnet group.
|
String |
toString()
Returns a string representation of this object.
|
ClusterSubnetGroup |
withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the cluster subnet group.
|
ClusterSubnetGroup |
withDescription(String description)
The description of the cluster subnet group.
|
ClusterSubnetGroup |
withSubnetGroupStatus(String subnetGroupStatus)
The status of the cluster subnet group.
|
ClusterSubnetGroup |
withSubnets(Collection<Subnet> subnets)
A list of the VPC Subnet elements.
|
ClusterSubnetGroup |
withSubnets(Subnet... subnets)
A list of the VPC Subnet elements.
|
ClusterSubnetGroup |
withSupportedClusterIpAddressTypes(Collection<String> supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group.
|
ClusterSubnetGroup |
withSupportedClusterIpAddressTypes(String... supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group.
|
ClusterSubnetGroup |
withTags(Collection<Tag> tags)
The list of tags for the cluster subnet group.
|
ClusterSubnetGroup |
withTags(Tag... tags)
The list of tags for the cluster subnet group.
|
ClusterSubnetGroup |
withVpcId(String vpcId)
The VPC ID of the cluster subnet group.
|
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the cluster subnet group.
clusterSubnetGroupName
- The name of the cluster subnet group.public String getClusterSubnetGroupName()
The name of the cluster subnet group.
public ClusterSubnetGroup withClusterSubnetGroupName(String clusterSubnetGroupName)
The name of the cluster subnet group.
clusterSubnetGroupName
- The name of the cluster subnet group.public void setDescription(String description)
The description of the cluster subnet group.
description
- The description of the cluster subnet group.public String getDescription()
The description of the cluster subnet group.
public ClusterSubnetGroup withDescription(String description)
The description of the cluster subnet group.
description
- The description of the cluster subnet group.public void setVpcId(String vpcId)
The VPC ID of the cluster subnet group.
vpcId
- The VPC ID of the cluster subnet group.public String getVpcId()
The VPC ID of the cluster subnet group.
public ClusterSubnetGroup withVpcId(String vpcId)
The VPC ID of the cluster subnet group.
vpcId
- The VPC ID of the cluster subnet group.public void setSubnetGroupStatus(String subnetGroupStatus)
The status of the cluster subnet group. Possible values are Complete
, Incomplete
and
Invalid
.
subnetGroupStatus
- The status of the cluster subnet group. Possible values are Complete
, Incomplete
and Invalid
.public String getSubnetGroupStatus()
The status of the cluster subnet group. Possible values are Complete
, Incomplete
and
Invalid
.
Complete
,
Incomplete
and Invalid
.public ClusterSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
The status of the cluster subnet group. Possible values are Complete
, Incomplete
and
Invalid
.
subnetGroupStatus
- The status of the cluster subnet group. Possible values are Complete
, Incomplete
and Invalid
.public List<Subnet> getSubnets()
A list of the VPC Subnet elements.
public void setSubnets(Collection<Subnet> subnets)
A list of the VPC Subnet elements.
subnets
- A list of the VPC Subnet elements.public ClusterSubnetGroup withSubnets(Subnet... subnets)
A list of the VPC Subnet elements.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
or withSubnets(java.util.Collection)
if you want to override
the existing values.
subnets
- A list of the VPC Subnet elements.public ClusterSubnetGroup withSubnets(Collection<Subnet> subnets)
A list of the VPC Subnet elements.
subnets
- A list of the VPC Subnet elements.public List<Tag> getTags()
The list of tags for the cluster subnet group.
public void setTags(Collection<Tag> tags)
The list of tags for the cluster subnet group.
tags
- The list of tags for the cluster subnet group.public ClusterSubnetGroup withTags(Tag... tags)
The list of tags for the cluster subnet group.
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
- The list of tags for the cluster subnet group.public ClusterSubnetGroup withTags(Collection<Tag> tags)
The list of tags for the cluster subnet group.
tags
- The list of tags for the cluster subnet group.public List<String> getSupportedClusterIpAddressTypes()
The IP address types supported by this cluster subnet group. Possible values are ipv4
and
dualstack
.
ipv4
and
dualstack
.public void setSupportedClusterIpAddressTypes(Collection<String> supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group. Possible values are ipv4
and
dualstack
.
supportedClusterIpAddressTypes
- The IP address types supported by this cluster subnet group. Possible values are ipv4
and
dualstack
.public ClusterSubnetGroup withSupportedClusterIpAddressTypes(String... supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group. Possible values are ipv4
and
dualstack
.
NOTE: This method appends the values to the existing list (if any). Use
setSupportedClusterIpAddressTypes(java.util.Collection)
or
withSupportedClusterIpAddressTypes(java.util.Collection)
if you want to override the existing values.
supportedClusterIpAddressTypes
- The IP address types supported by this cluster subnet group. Possible values are ipv4
and
dualstack
.public ClusterSubnetGroup withSupportedClusterIpAddressTypes(Collection<String> supportedClusterIpAddressTypes)
The IP address types supported by this cluster subnet group. Possible values are ipv4
and
dualstack
.
supportedClusterIpAddressTypes
- The IP address types supported by this cluster subnet group. Possible values are ipv4
and
dualstack
.public String toString()
toString
in class Object
Object.toString()
public ClusterSubnetGroup clone()