@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeReservedDBInstancesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeReservedDBInstances action.
Constructor and Description |
---|
DescribeReservedDBInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedDBInstancesResult |
clone() |
boolean |
equals(Object obj) |
String |
getMarker()
An optional pagination token provided by a previous request.
|
List<ReservedDBInstance> |
getReservedDBInstances()
A list of reserved DB instances.
|
int |
hashCode() |
void |
setMarker(String marker)
An optional pagination token provided by a previous request.
|
void |
setReservedDBInstances(Collection<ReservedDBInstance> reservedDBInstances)
A list of reserved DB instances.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribeReservedDBInstancesResult |
withMarker(String marker)
An optional pagination token provided by a previous request.
|
DescribeReservedDBInstancesResult |
withReservedDBInstances(Collection<ReservedDBInstance> reservedDBInstances)
A list of reserved DB instances.
|
DescribeReservedDBInstancesResult |
withReservedDBInstances(ReservedDBInstance... reservedDBInstances)
A list of reserved DB instances.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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
.
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 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
.
MaxRecords
.public DescribeReservedDBInstancesResult 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
.
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<ReservedDBInstance> getReservedDBInstances()
A list of reserved DB instances.
public void setReservedDBInstances(Collection<ReservedDBInstance> reservedDBInstances)
A list of reserved DB instances.
reservedDBInstances
- A list of reserved DB instances.public DescribeReservedDBInstancesResult withReservedDBInstances(ReservedDBInstance... reservedDBInstances)
A list of reserved DB instances.
NOTE: This method appends the values to the existing list (if any). Use
setReservedDBInstances(java.util.Collection)
or withReservedDBInstances(java.util.Collection)
if you want to override the existing values.
reservedDBInstances
- A list of reserved DB instances.public DescribeReservedDBInstancesResult withReservedDBInstances(Collection<ReservedDBInstance> reservedDBInstances)
A list of reserved DB instances.
reservedDBInstances
- A list of reserved DB instances.public String toString()
toString
in class Object
Object.toString()
public DescribeReservedDBInstancesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.