public class DBSubnetGroup
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the result of a successful invocation of the following actions:
This data type is used as a response element in the DescribeDBSubnetGroups action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dBSubnetGroupDescription
Provides the description of the DB subnet group.
|
private java.lang.String |
dBSubnetGroupName
The name of the DB subnet group.
|
private java.lang.String |
subnetGroupStatus
Provides the status of the DB subnet group.
|
private SdkInternalList<Subnet> |
subnets
Contains a list of Subnet elements.
|
private java.lang.String |
vpcId
Provides the VpcId of the DB subnet group.
|
Constructor and Description |
---|
DBSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
DBSubnetGroup |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDBSubnetGroupDescription()
Provides the description of the DB subnet group.
|
java.lang.String |
getDBSubnetGroupName()
The name of the DB subnet group.
|
java.lang.String |
getSubnetGroupStatus()
Provides the status of the DB subnet group.
|
java.util.List<Subnet> |
getSubnets()
Contains a list of Subnet elements.
|
java.lang.String |
getVpcId()
Provides the VpcId of the DB subnet group.
|
int |
hashCode() |
void |
setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
Provides the description of the DB subnet group.
|
void |
setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name of the DB subnet group.
|
void |
setSubnetGroupStatus(java.lang.String subnetGroupStatus)
Provides the status of the DB subnet group.
|
void |
setSubnets(java.util.Collection<Subnet> subnets)
Contains a list of Subnet elements.
|
void |
setVpcId(java.lang.String vpcId)
Provides the VpcId of the DB subnet group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DBSubnetGroup |
withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
Provides the description of the DB subnet group.
|
DBSubnetGroup |
withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name of the DB subnet group.
|
DBSubnetGroup |
withSubnetGroupStatus(java.lang.String subnetGroupStatus)
Provides the status of the DB subnet group.
|
DBSubnetGroup |
withSubnets(java.util.Collection<Subnet> subnets)
Contains a list of Subnet elements.
|
DBSubnetGroup |
withSubnets(Subnet... subnets)
Contains a list of Subnet elements.
|
DBSubnetGroup |
withVpcId(java.lang.String vpcId)
Provides the VpcId of the DB subnet group.
|
private java.lang.String dBSubnetGroupName
The name of the DB subnet group.
private java.lang.String dBSubnetGroupDescription
Provides the description of the DB subnet group.
private java.lang.String vpcId
Provides the VpcId of the DB subnet group.
private java.lang.String subnetGroupStatus
Provides the status of the DB subnet group.
private SdkInternalList<Subnet> subnets
Contains a list of Subnet elements.
public void setDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name of the DB subnet group.
dBSubnetGroupName
- The name of the DB subnet group.public java.lang.String getDBSubnetGroupName()
The name of the DB subnet group.
public DBSubnetGroup withDBSubnetGroupName(java.lang.String dBSubnetGroupName)
The name of the DB subnet group.
dBSubnetGroupName
- The name of the DB subnet group.public void setDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
Provides the description of the DB subnet group.
dBSubnetGroupDescription
- Provides the description of the DB subnet group.public java.lang.String getDBSubnetGroupDescription()
Provides the description of the DB subnet group.
public DBSubnetGroup withDBSubnetGroupDescription(java.lang.String dBSubnetGroupDescription)
Provides the description of the DB subnet group.
dBSubnetGroupDescription
- Provides the description of the DB subnet group.public void setVpcId(java.lang.String vpcId)
Provides the VpcId of the DB subnet group.
vpcId
- Provides the VpcId of the DB subnet group.public java.lang.String getVpcId()
Provides the VpcId of the DB subnet group.
public DBSubnetGroup withVpcId(java.lang.String vpcId)
Provides the VpcId of the DB subnet group.
vpcId
- Provides the VpcId of the DB subnet group.public void setSubnetGroupStatus(java.lang.String subnetGroupStatus)
Provides the status of the DB subnet group.
subnetGroupStatus
- Provides the status of the DB subnet group.public java.lang.String getSubnetGroupStatus()
Provides the status of the DB subnet group.
public DBSubnetGroup withSubnetGroupStatus(java.lang.String subnetGroupStatus)
Provides the status of the DB subnet group.
subnetGroupStatus
- Provides the status of the DB subnet group.public java.util.List<Subnet> getSubnets()
Contains a list of Subnet elements.
public void setSubnets(java.util.Collection<Subnet> subnets)
Contains a list of Subnet elements.
subnets
- Contains a list of Subnet elements.public DBSubnetGroup withSubnets(Subnet... subnets)
Contains a list of 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
- Contains a list of Subnet elements.public DBSubnetGroup withSubnets(java.util.Collection<Subnet> subnets)
Contains a list of Subnet elements.
subnets
- Contains a list of Subnet elements.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 DBSubnetGroup clone()
clone
in class java.lang.Object