Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.rds.model
Class DBSubnetGroup

java.lang.Object
  extended by com.amazonaws.services.rds.model.DBSubnetGroup
All Implemented Interfaces:
Serializable

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.

See Also:
Serialized Form

Constructor Summary
DBSubnetGroup()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DBSubnetGroup

public DBSubnetGroup()
Method Detail

getDBSubnetGroupName

public String getDBSubnetGroupName()
Specifies the name of the DB Subnet Group.

Returns:
Specifies the name of the DB Subnet Group.

setDBSubnetGroupName

public void setDBSubnetGroupName(String dBSubnetGroupName)
Specifies the name of the DB Subnet Group.

Parameters:
dBSubnetGroupName - Specifies the name of the DB Subnet Group.

withDBSubnetGroupName

public DBSubnetGroup withDBSubnetGroupName(String dBSubnetGroupName)
Specifies the name of the DB Subnet Group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBSubnetGroupName - Specifies the name of the DB Subnet Group.
Returns:
A reference to this updated object so that method calls can be chained together.

getDBSubnetGroupDescription

public String getDBSubnetGroupDescription()
Provides the description of the DB Subnet Group.

Returns:
Provides the description of the DB Subnet Group.

setDBSubnetGroupDescription

public void setDBSubnetGroupDescription(String dBSubnetGroupDescription)
Provides the description of the DB Subnet Group.

Parameters:
dBSubnetGroupDescription - Provides the description of the DB Subnet Group.

withDBSubnetGroupDescription

public DBSubnetGroup withDBSubnetGroupDescription(String dBSubnetGroupDescription)
Provides the description of the DB Subnet Group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dBSubnetGroupDescription - Provides the description of the DB Subnet Group.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public String getVpcId()
Provides the VpcId of the DB Subnet Group.

Returns:
Provides the VpcId of the DB Subnet Group.

setVpcId

public void setVpcId(String vpcId)
Provides the VpcId of the DB Subnet Group.

Parameters:
vpcId - Provides the VpcId of the DB Subnet Group.

withVpcId

public DBSubnetGroup withVpcId(String vpcId)
Provides the VpcId of the DB Subnet Group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - Provides the VpcId of the DB Subnet Group.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetGroupStatus

public String getSubnetGroupStatus()
Provides the status of the DB Subnet Group.

Returns:
Provides the status of the DB Subnet Group.

setSubnetGroupStatus

public void setSubnetGroupStatus(String subnetGroupStatus)
Provides the status of the DB Subnet Group.

Parameters:
subnetGroupStatus - Provides the status of the DB Subnet Group.

withSubnetGroupStatus

public DBSubnetGroup withSubnetGroupStatus(String subnetGroupStatus)
Provides the status of the DB Subnet Group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnetGroupStatus - Provides the status of the DB Subnet Group.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnets

public List<Subnet> getSubnets()
Contains a list of Subnet elements.

Returns:
Contains a list of Subnet elements.

setSubnets

public void setSubnets(Collection<Subnet> subnets)
Contains a list of Subnet elements.

Parameters:
subnets - Contains a list of Subnet elements.

withSubnets

public DBSubnetGroup withSubnets(Subnet... subnets)
Contains a list of Subnet elements.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - Contains a list of Subnet elements.
Returns:
A reference to this updated object so that method calls can be chained together.

withSubnets

public DBSubnetGroup withSubnets(Collection<Subnet> subnets)
Contains a list of Subnet elements.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnets - Contains a list of Subnet elements.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.