public class DBSubnetGroup extends Object implements Serializable
Contains the result of a successful invocation of the following actions:
This data type is used as a response element in the DescribeDBSubnetGroups action.
Constructor and Description |
---|
DBSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDBSubnetGroupDescription()
Provides the description of the DB Subnet Group.
|
String |
getDBSubnetGroupName()
Specifies the name of the DB Subnet Group.
|
String |
getSubnetGroupStatus()
Provides the status of the DB Subnet Group.
|
List<Subnet> |
getSubnets()
Contains a list of Subnet elements.
|
String |
getVpcId()
Provides the VpcId of the DB Subnet Group.
|
int |
hashCode() |
void |
setDBSubnetGroupDescription(String dBSubnetGroupDescription)
Provides the description of the DB Subnet Group.
|
void |
setDBSubnetGroupName(String dBSubnetGroupName)
Specifies the name of the DB Subnet Group.
|
void |
setSubnetGroupStatus(String subnetGroupStatus)
Provides the status of the DB Subnet Group.
|
void |
setSubnets(Collection<Subnet> subnets)
Contains a list of Subnet elements.
|
void |
setVpcId(String vpcId)
Provides the VpcId of the DB Subnet Group.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DBSubnetGroup |
withDBSubnetGroupDescription(String dBSubnetGroupDescription)
Provides the description of the DB Subnet Group.
|
DBSubnetGroup |
withDBSubnetGroupName(String dBSubnetGroupName)
Specifies the name of the DB Subnet Group.
|
DBSubnetGroup |
withSubnetGroupStatus(String subnetGroupStatus)
Provides the status of the DB Subnet Group.
|
DBSubnetGroup |
withSubnets(Collection<Subnet> subnets)
Contains a list of Subnet elements.
|
DBSubnetGroup |
withSubnets(Subnet... subnets)
Contains a list of Subnet elements.
|
DBSubnetGroup |
withVpcId(String vpcId)
Provides the VpcId of the DB Subnet Group.
|
public String getDBSubnetGroupName()
public void setDBSubnetGroupName(String dBSubnetGroupName)
dBSubnetGroupName
- Specifies the name of the DB Subnet Group.public DBSubnetGroup withDBSubnetGroupName(String dBSubnetGroupName)
Returns a reference to this object so that method calls can be chained together.
dBSubnetGroupName
- Specifies the name of the DB Subnet Group.public String getDBSubnetGroupDescription()
public void setDBSubnetGroupDescription(String dBSubnetGroupDescription)
dBSubnetGroupDescription
- Provides the description of the DB Subnet Group.public DBSubnetGroup withDBSubnetGroupDescription(String dBSubnetGroupDescription)
Returns a reference to this object so that method calls can be chained together.
dBSubnetGroupDescription
- Provides the description of the DB Subnet Group.public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- Provides the VpcId of the DB Subnet Group.public DBSubnetGroup withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- Provides the VpcId of the DB Subnet Group.public String getSubnetGroupStatus()
public void setSubnetGroupStatus(String subnetGroupStatus)
subnetGroupStatus
- Provides the status of the DB Subnet Group.public DBSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
Returns a reference to this object so that method calls can be chained together.
subnetGroupStatus
- Provides the status of the DB Subnet Group.public List<Subnet> getSubnets()
public void setSubnets(Collection<Subnet> subnets)
subnets
- Contains a list of Subnet elements.public DBSubnetGroup withSubnets(Subnet... subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- Contains a list of Subnet elements.public DBSubnetGroup withSubnets(Collection<Subnet> subnets)
Returns a reference to this object so that method calls can be chained together.
subnets
- Contains a list of Subnet elements.public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.