public class DescribeReservedDBInstancesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the result of a successful invocation of the DescribeReservedDBInstances action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
marker
An optional pagination token provided by a previous request.
|
private SdkInternalList<ReservedDBInstance> |
reservedDBInstances
A list of reserved DB instances.
|
Constructor and Description |
---|
DescribeReservedDBInstancesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedDBInstancesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMarker()
An optional pagination token provided by a previous request.
|
java.util.List<ReservedDBInstance> |
getReservedDBInstances()
A list of reserved DB instances.
|
int |
hashCode() |
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
void |
setReservedDBInstances(java.util.Collection<ReservedDBInstance> reservedDBInstances)
A list of reserved DB instances.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedDBInstancesResult |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
DescribeReservedDBInstancesResult |
withReservedDBInstances(java.util.Collection<ReservedDBInstance> reservedDBInstances)
A list of reserved DB instances.
|
DescribeReservedDBInstancesResult |
withReservedDBInstances(ReservedDBInstance... reservedDBInstances)
A list of reserved DB instances.
|
private java.lang.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
.
private SdkInternalList<ReservedDBInstance> reservedDBInstances
A list of reserved DB instances.
public void setMarker(java.lang.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 java.lang.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(java.lang.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 java.util.List<ReservedDBInstance> getReservedDBInstances()
A list of reserved DB instances.
public void setReservedDBInstances(java.util.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(java.util.Collection<ReservedDBInstance> reservedDBInstances)
A list of reserved DB instances.
reservedDBInstances
- A list of reserved DB instances.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeReservedDBInstancesResult clone()
clone
in class java.lang.Object