public class DescribeDBInstancesResult extends Object implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeDBInstances action.
Constructor and Description |
---|
DescribeDBInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDBInstancesResult |
clone() |
boolean |
equals(Object obj) |
List<DBInstance> |
getDBInstances()
A list of DBInstance instances.
|
String |
getMarker()
An optional pagination token provided by a previous request.
|
int |
hashCode() |
void |
setDBInstances(Collection<DBInstance> dBInstances)
A list of DBInstance instances.
|
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeDBInstancesResult |
withDBInstances(Collection<DBInstance> dBInstances)
A list of DBInstance instances.
|
DescribeDBInstancesResult |
withDBInstances(DBInstance... dBInstances)
A list of DBInstance instances.
|
DescribeDBInstancesResult |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
public String getMarker()
MaxRecords
.MaxRecords
.public void setMarker(String marker)
MaxRecords
.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
.public DescribeDBInstancesResult withMarker(String marker)
MaxRecords
.
Returns a reference to this object so that method calls can be chained together.
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
.public List<DBInstance> getDBInstances()
public void setDBInstances(Collection<DBInstance> dBInstances)
dBInstances
- A list of DBInstance instances.public DescribeDBInstancesResult withDBInstances(DBInstance... dBInstances)
NOTE: This method appends the values to the existing list (if
any). Use setDBInstances(java.util.Collection)
or withDBInstances(java.util.Collection)
if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
dBInstances
- A list of DBInstance instances.public DescribeDBInstancesResult withDBInstances(Collection<DBInstance> dBInstances)
Returns a reference to this object so that method calls can be chained together.
dBInstances
- A list of DBInstance instances.public String toString()
toString
in class Object
Object.toString()
public DescribeDBInstancesResult clone()
Copyright © 2015. All rights reserved.