Class DBSubnetGroup
- All Implemented Interfaces:
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.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Provides the description of the DB subnet group.The name of the DB subnet group.Provides the status of the DB subnet group.Contains a list of Subnet elements.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) 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
Provides the VpcId of the DB subnet group.toString()
Returns a string representation of this object; useful for testing and debugging.withDBSubnetGroupDescription
(String dBSubnetGroupDescription) Provides the description of the DB subnet group.withDBSubnetGroupName
(String dBSubnetGroupName) The name of the DB subnet group.withSubnetGroupStatus
(String subnetGroupStatus) Provides the status of the DB subnet group.withSubnets
(Subnet... subnets) Contains a list of Subnet elements.withSubnets
(Collection<Subnet> subnets) Contains a list of Subnet elements.Provides the VpcId of the DB subnet group.
-
Constructor Details
-
DBSubnetGroup
public DBSubnetGroup()
-
-
Method Details
-
setDBSubnetGroupName
The name of the DB subnet group.
- Parameters:
dBSubnetGroupName
- The name of the DB subnet group.
-
getDBSubnetGroupName
The name of the DB subnet group.
- Returns:
- The name of the DB subnet group.
-
withDBSubnetGroupName
The name of the DB subnet group.
- Parameters:
dBSubnetGroupName
- The name of the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDBSubnetGroupDescription
Provides the description of the DB subnet group.
- Parameters:
dBSubnetGroupDescription
- Provides the description of the DB subnet group.
-
getDBSubnetGroupDescription
Provides the description of the DB subnet group.
- Returns:
- Provides the description of the DB subnet group.
-
withDBSubnetGroupDescription
Provides the description of the DB subnet group.
- Parameters:
dBSubnetGroupDescription
- Provides the description of the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVpcId
Provides the VpcId of the DB subnet group.
- Parameters:
vpcId
- Provides the VpcId of the DB subnet group.
-
getVpcId
Provides the VpcId of the DB subnet group.
- Returns:
- Provides the VpcId of the DB subnet group.
-
withVpcId
Provides the VpcId of the DB subnet group.
- Parameters:
vpcId
- Provides the VpcId of the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSubnetGroupStatus
Provides the status of the DB subnet group.
- Parameters:
subnetGroupStatus
- Provides the status of the DB subnet group.
-
getSubnetGroupStatus
Provides the status of the DB subnet group.
- Returns:
- Provides the status of the DB subnet group.
-
withSubnetGroupStatus
Provides the status of the DB subnet group.
- Parameters:
subnetGroupStatus
- Provides the status of the DB subnet group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSubnets
Contains a list of Subnet elements.
- Returns:
- Contains a list of Subnet elements.
-
setSubnets
Contains a list of Subnet elements.
- Parameters:
subnets
- Contains a list of Subnet elements.
-
withSubnets
Contains a list of Subnet elements.
NOTE: This method appends the values to the existing list (if any). Use
setSubnets(java.util.Collection)
orwithSubnets(java.util.Collection)
if you want to override the existing values.- Parameters:
subnets
- Contains a list of Subnet elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSubnets
Contains a list of Subnet elements.
- Parameters:
subnets
- Contains a list of Subnet elements.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-