@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DBSubnetGroup extends Object implements Serializable, Cloneable
Detailed information about a DB subnet group.
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()
Detailed information about one or more subnets within a DB subnet group.
|
String |
getVpcId()
Provides the virtual private cloud (VPC) ID 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)
Detailed information about one or more subnets within a DB subnet group.
|
void |
setVpcId(String vpcId)
Provides the virtual private cloud (VPC) ID of the DB subnet group.
|
String |
toString()
Returns a string representation of this object.
|
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)
Detailed information about one or more subnets within a DB subnet group.
|
DBSubnetGroup |
withSubnets(Subnet... subnets)
Detailed information about one or more subnets within a DB subnet group.
|
DBSubnetGroup |
withVpcId(String vpcId)
Provides the virtual private cloud (VPC) ID 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 virtual private cloud (VPC) ID of the DB subnet group.
vpcId
- Provides the virtual private cloud (VPC) ID of the DB subnet group.public String getVpcId()
Provides the virtual private cloud (VPC) ID of the DB subnet group.
public DBSubnetGroup withVpcId(String vpcId)
Provides the virtual private cloud (VPC) ID of the DB subnet group.
vpcId
- Provides the virtual private cloud (VPC) ID 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()
Detailed information about one or more subnets within a DB subnet group.
public void setSubnets(Collection<Subnet> subnets)
Detailed information about one or more subnets within a DB subnet group.
subnets
- Detailed information about one or more subnets within a DB subnet group.public DBSubnetGroup withSubnets(Subnet... subnets)
Detailed information about one or more subnets within a DB subnet group.
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
- Detailed information about one or more subnets within a DB subnet group.public DBSubnetGroup withSubnets(Collection<Subnet> subnets)
Detailed information about one or more subnets within a DB subnet group.
subnets
- Detailed information about one or more subnets within a DB subnet group.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.