Class DescribeDBInstancesResult
- java.lang.Object
-
- com.amazonaws.services.rds.model.DescribeDBInstancesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class DescribeDBInstancesResult extends Object implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeDBInstances action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeDBInstancesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeDBInstancesResultclone()booleanequals(Object obj)List<DBInstance>getDBInstances()A list of DBInstance instances.StringgetMarker()An optional pagination token provided by a previous request.inthashCode()voidsetDBInstances(Collection<DBInstance> dBInstances)A list of DBInstance instances.voidsetMarker(String marker)An optional pagination token provided by a previous request.StringtoString()Returns a string representation of this object; useful for testing and debugging.DescribeDBInstancesResultwithDBInstances(DBInstance... dBInstances)A list of DBInstance instances.DescribeDBInstancesResultwithDBInstances(Collection<DBInstance> dBInstances)A list of DBInstance instances.DescribeDBInstancesResultwithMarker(String marker)An optional pagination token provided by a previous request.
-
-
-
Method Detail
-
setMarker
public void setMarker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.- Parameters:
marker- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.
-
getMarker
public String getMarker()
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.- Returns:
- An optional pagination token provided by a previous request. If
this parameter is specified, the response includes only records
beyond the marker, up to the value specified by
MaxRecords.
-
withMarker
public DescribeDBInstancesResult withMarker(String marker)
An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by
MaxRecords.- Parameters:
marker- An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified byMaxRecords.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDBInstances
public List<DBInstance> getDBInstances()
A list of DBInstance instances.
- Returns:
- A list of DBInstance instances.
-
setDBInstances
public void setDBInstances(Collection<DBInstance> dBInstances)
A list of DBInstance instances.
- Parameters:
dBInstances- A list of DBInstance instances.
-
withDBInstances
public DescribeDBInstancesResult withDBInstances(DBInstance... dBInstances)
A list of DBInstance instances.
NOTE: This method appends the values to the existing list (if any). Use
setDBInstances(java.util.Collection)orwithDBInstances(java.util.Collection)if you want to override the existing values.- Parameters:
dBInstances- A list of DBInstance instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDBInstances
public DescribeDBInstancesResult withDBInstances(Collection<DBInstance> dBInstances)
A list of DBInstance instances.
- Parameters:
dBInstances- A list of DBInstance 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeDBInstancesResult clone()
-
-