@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBSubnetGroup extends Object implements Serializable, 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.
Constructor and Description |
---|
DBSubnetGroup() |
Modifier and Type | Method and Description |
---|---|
DBSubnetGroup |
clone() |
boolean |
equals(Object obj) |
String |
getDBSubnetGroupArn()
The Amazon Resource Name (ARN) for the DB subnet group.
|
String |
getDBSubnetGroupDescription()
Provides the description of the DB subnet group.
|
String |
getDBSubnetGroupName()
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 |
setDBSubnetGroupArn(String dBSubnetGroupArn)
The Amazon Resource Name (ARN) for the DB subnet group.
|
void |
setDBSubnetGroupDescription(String dBSubnetGroupDescription)
Provides the description of the DB subnet group.
|
void |
setDBSubnetGroupName(String dBSubnetGroupName)
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 |
withDBSubnetGroupArn(String dBSubnetGroupArn)
The Amazon Resource Name (ARN) for the DB subnet group.
|
DBSubnetGroup |
withDBSubnetGroupDescription(String dBSubnetGroupDescription)
Provides the description of the DB subnet group.
|
DBSubnetGroup |
withDBSubnetGroupName(String dBSubnetGroupName)
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 void setDBSubnetGroupName(String dBSubnetGroupName)
The name of the DB subnet group.
dBSubnetGroupName
- The name of the DB subnet group.public String getDBSubnetGroupName()
The name of the DB subnet group.
public DBSubnetGroup withDBSubnetGroupName(String dBSubnetGroupName)
The name of the DB subnet group.
dBSubnetGroupName
- The name of the DB subnet group.public void setDBSubnetGroupDescription(String dBSubnetGroupDescription)
Provides the description of the DB subnet group.
dBSubnetGroupDescription
- Provides the description of the DB subnet group.public String getDBSubnetGroupDescription()
Provides the description of the DB subnet group.
public DBSubnetGroup withDBSubnetGroupDescription(String dBSubnetGroupDescription)
Provides the description of the DB subnet group.
dBSubnetGroupDescription
- Provides the description of the DB subnet group.public void setVpcId(String vpcId)
Provides the VpcId of the DB subnet group.
vpcId
- Provides the VpcId of the DB subnet group.public String getVpcId()
Provides the VpcId of the DB subnet group.
public DBSubnetGroup withVpcId(String vpcId)
Provides the VpcId of the DB subnet group.
vpcId
- Provides the VpcId of the DB subnet group.public void setSubnetGroupStatus(String subnetGroupStatus)
Provides the status of the DB subnet group.
subnetGroupStatus
- Provides the status of the DB subnet group.public String getSubnetGroupStatus()
Provides the status of the DB subnet group.
public DBSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
Provides the status of the DB subnet group.
subnetGroupStatus
- Provides the status of the DB subnet group.public List<Subnet> getSubnets()
Contains a list of Subnet elements.
public void setSubnets(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(Collection<Subnet> subnets)
Contains a list of Subnet elements.
subnets
- Contains a list of Subnet elements.public void setDBSubnetGroupArn(String dBSubnetGroupArn)
The Amazon Resource Name (ARN) for the DB subnet group.
dBSubnetGroupArn
- The Amazon Resource Name (ARN) for the DB subnet group.public String getDBSubnetGroupArn()
The Amazon Resource Name (ARN) for the DB subnet group.
public DBSubnetGroup withDBSubnetGroupArn(String dBSubnetGroupArn)
The Amazon Resource Name (ARN) for the DB subnet group.
dBSubnetGroupArn
- The Amazon Resource Name (ARN) for the DB subnet group.public String toString()
toString
in class Object
Object.toString()
public DBSubnetGroup clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.