public class ClusterSubnetGroup
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes a subnet group.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
clusterSubnetGroupName
The name of the cluster subnet group.
|
private java.lang.String |
description
The description of the cluster subnet group.
|
private java.lang.String |
subnetGroupStatus
The status of the cluster subnet group.
|
private SdkInternalList<Subnet> |
subnets
A list of the VPC Subnet elements.
|
private SdkInternalList<Tag> |
tags
The list of tags for the cluster subnet group.
|
private java.lang.String |
vpcId
The VPC ID of the cluster subnet group.
|
Constructor and Description |
---|
ClusterSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
ClusterSubnetGroup |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClusterSubnetGroupName()
The name of the cluster subnet group.
|
java.lang.String |
getDescription()
The description of the cluster subnet group.
|
java.lang.String |
getSubnetGroupStatus()
The status of the cluster subnet group.
|
java.util.List<Subnet> |
getSubnets()
A list of the VPC Subnet elements.
|
java.util.List<Tag> |
getTags()
The list of tags for the cluster subnet group.
|
java.lang.String |
getVpcId()
The VPC ID of the cluster subnet group.
|
int |
hashCode() |
void |
setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name of the cluster subnet group.
|
void |
setDescription(java.lang.String description)
The description of the cluster subnet group.
|
void |
setSubnetGroupStatus(java.lang.String subnetGroupStatus)
The status of the cluster subnet group.
|
void |
setSubnets(java.util.Collection<Subnet> subnets)
A list of the VPC Subnet elements.
|
void |
setTags(java.util.Collection<Tag> tags)
The list of tags for the cluster subnet group.
|
void |
setVpcId(java.lang.String vpcId)
The VPC ID of the cluster subnet group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ClusterSubnetGroup |
withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name of the cluster subnet group.
|
ClusterSubnetGroup |
withDescription(java.lang.String description)
The description of the cluster subnet group.
|
ClusterSubnetGroup |
withSubnetGroupStatus(java.lang.String subnetGroupStatus)
The status of the cluster subnet group.
|
ClusterSubnetGroup |
withSubnets(java.util.Collection<Subnet> subnets)
A list of the VPC Subnet elements.
|
ClusterSubnetGroup |
withSubnets(Subnet... subnets)
A list of the VPC Subnet elements.
|
ClusterSubnetGroup |
withTags(java.util.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(java.lang.String vpcId)
The VPC ID of the cluster subnet group.
|
private java.lang.String clusterSubnetGroupName
The name of the cluster subnet group.
private java.lang.String description
The description of the cluster subnet group.
private java.lang.String vpcId
The VPC ID of the cluster subnet group.
private java.lang.String subnetGroupStatus
The status of the cluster subnet group. Possible values are
Complete
, Incomplete
and Invalid
.
private SdkInternalList<Subnet> subnets
A list of the VPC Subnet elements.
private SdkInternalList<Tag> tags
The list of tags for the cluster subnet group.
public void setClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name of the cluster subnet group.
clusterSubnetGroupName
- The name of the cluster subnet group.public java.lang.String getClusterSubnetGroupName()
The name of the cluster subnet group.
public ClusterSubnetGroup withClusterSubnetGroupName(java.lang.String clusterSubnetGroupName)
The name of the cluster subnet group.
clusterSubnetGroupName
- The name of the cluster subnet group.public void setDescription(java.lang.String description)
The description of the cluster subnet group.
description
- The description of the cluster subnet group.public java.lang.String getDescription()
The description of the cluster subnet group.
public ClusterSubnetGroup withDescription(java.lang.String description)
The description of the cluster subnet group.
description
- The description of the cluster subnet group.public void setVpcId(java.lang.String vpcId)
The VPC ID of the cluster subnet group.
vpcId
- The VPC ID of the cluster subnet group.public java.lang.String getVpcId()
The VPC ID of the cluster subnet group.
public ClusterSubnetGroup withVpcId(java.lang.String vpcId)
The VPC ID of the cluster subnet group.
vpcId
- The VPC ID of the cluster subnet group.public void setSubnetGroupStatus(java.lang.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 java.lang.String getSubnetGroupStatus()
The status of the cluster subnet group. Possible values are
Complete
, Incomplete
and Invalid
.
Complete
, Incomplete
and
Invalid
.public ClusterSubnetGroup withSubnetGroupStatus(java.lang.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 java.util.List<Subnet> getSubnets()
A list of the VPC Subnet elements.
public void setSubnets(java.util.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(java.util.Collection<Subnet> subnets)
A list of the VPC Subnet elements.
subnets
- A list of the VPC Subnet elements.public java.util.List<Tag> getTags()
The list of tags for the cluster subnet group.
public void setTags(java.util.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(java.util.Collection<Tag> tags)
The list of tags for the cluster subnet group.
tags
- The list of tags for the cluster subnet group.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ClusterSubnetGroup clone()
clone
in class java.lang.Object