Class DescribeRdsDbInstancesResult
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.DescribeRdsDbInstancesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeRdsDbInstancesResult extends Object implements Serializable, Cloneable
Contains the response to a
DescribeRdsDbInstances
request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeRdsDbInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeRdsDbInstancesResult
clone()
boolean
equals(Object obj)
List<RdsDbInstance>
getRdsDbInstances()
An a array ofRdsDbInstance
objects that describe the instances.int
hashCode()
void
setRdsDbInstances(Collection<RdsDbInstance> rdsDbInstances)
An a array ofRdsDbInstance
objects that describe the instances.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeRdsDbInstancesResult
withRdsDbInstances(RdsDbInstance... rdsDbInstances)
An a array ofRdsDbInstance
objects that describe the instances.DescribeRdsDbInstancesResult
withRdsDbInstances(Collection<RdsDbInstance> rdsDbInstances)
An a array ofRdsDbInstance
objects that describe the instances.
-
-
-
Method Detail
-
getRdsDbInstances
public List<RdsDbInstance> getRdsDbInstances()
An a array of
RdsDbInstance
objects that describe the instances.- Returns:
- An a array of
RdsDbInstance
objects that describe the instances.
-
setRdsDbInstances
public void setRdsDbInstances(Collection<RdsDbInstance> rdsDbInstances)
An a array of
RdsDbInstance
objects that describe the instances.- Parameters:
rdsDbInstances
- An a array ofRdsDbInstance
objects that describe the instances.
-
withRdsDbInstances
public DescribeRdsDbInstancesResult withRdsDbInstances(RdsDbInstance... rdsDbInstances)
An a array of
RdsDbInstance
objects that describe the instances.NOTE: This method appends the values to the existing list (if any). Use
setRdsDbInstances(java.util.Collection)
orwithRdsDbInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
rdsDbInstances
- An a array ofRdsDbInstance
objects that describe the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withRdsDbInstances
public DescribeRdsDbInstancesResult withRdsDbInstances(Collection<RdsDbInstance> rdsDbInstances)
An a array of
RdsDbInstance
objects that describe the instances.- Parameters:
rdsDbInstances
- An a array ofRdsDbInstance
objects that describe the instances.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeRdsDbInstancesResult clone()
-
-