public class ClusterSubnetGroup extends Object implements Serializable
Describes a subnet group.
Constructor and Description |
---|
ClusterSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
setVpcId(String vpcId)
The VPC ID of the cluster subnet group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
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 |
withVpcId(String vpcId)
The VPC ID of the cluster subnet group.
|
public String getClusterSubnetGroupName()
public void setClusterSubnetGroupName(String clusterSubnetGroupName)
clusterSubnetGroupName
- The name of the cluster subnet group.public ClusterSubnetGroup withClusterSubnetGroupName(String clusterSubnetGroupName)
Returns a reference to this object so that method calls can be chained together.
clusterSubnetGroupName
- The name of the cluster subnet group.public String getDescription()
public void setDescription(String description)
description
- The description of the cluster subnet group.public ClusterSubnetGroup withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description
- The description of the cluster subnet group.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The VPC ID of the cluster subnet group.public ClusterSubnetGroup withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The VPC ID of the cluster subnet group.public String getSubnetGroupStatus()
Complete
, Incomplete
and
Invalid
.Complete
, Incomplete
and
Invalid
.public void setSubnetGroupStatus(String subnetGroupStatus)
Complete
, Incomplete
and
Invalid
.subnetGroupStatus
- The status of the cluster subnet group. Possible values are
Complete
, Incomplete
and
Invalid
.public ClusterSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
Complete
, Incomplete
and
Invalid
.
Returns a reference to this object so that method calls can be chained together.
subnetGroupStatus
- The status of the cluster subnet group. Possible values are
Complete
, Incomplete
and
Invalid
.public List<Subnet> getSubnets()
public void setSubnets(Collection<Subnet> subnets)
subnets
- A list of the VPC Subnet elements.public ClusterSubnetGroup withSubnets(Subnet... subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- A list of the VPC Subnet elements.public ClusterSubnetGroup withSubnets(Collection<Subnet> subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- A list of the VPC Subnet elements.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.