Class DescribeReservedDBInstancesResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the result of a successful invocation of the DescribeReservedDBInstances action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
An optional pagination token provided by a previous request.A list of reserved DB instances.int
hashCode()
void
An optional pagination token provided by a previous request.void
setReservedDBInstances
(Collection<ReservedDBInstance> reservedDBInstances) A list of reserved DB instances.toString()
Returns a string representation of this object; useful for testing and debugging.withMarker
(String marker) An optional pagination token provided by a previous request.withReservedDBInstances
(ReservedDBInstance... reservedDBInstances) A list of reserved DB instances.withReservedDBInstances
(Collection<ReservedDBInstance> reservedDBInstances) A list of reserved DB instances.
-
Constructor Details
-
DescribeReservedDBInstancesResult
public DescribeReservedDBInstancesResult()
-
-
Method Details
-
setMarker
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
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
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.
-
getReservedDBInstances
A list of reserved DB instances.
- Returns:
- A list of reserved DB instances.
-
setReservedDBInstances
A list of reserved DB instances.
- Parameters:
reservedDBInstances
- A list of reserved DB instances.
-
withReservedDBInstances
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)
orwithReservedDBInstances(java.util.Collection)
if you want to override the existing values.- Parameters:
reservedDBInstances
- A list of reserved DB instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedDBInstances
public DescribeReservedDBInstancesResult withReservedDBInstances(Collection<ReservedDBInstance> reservedDBInstances) A list of reserved DB instances.
- Parameters:
reservedDBInstances
- A list of reserved DB instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-