Class DescribeReservedDBInstancesOfferingsResult
- java.lang.Object
-
- com.amazonaws.services.rds.model.DescribeReservedDBInstancesOfferingsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class DescribeReservedDBInstancesOfferingsResult extends Object implements Serializable, Cloneable
Contains the result of a successful invocation of the DescribeReservedDBInstancesOfferings action.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedDBInstancesOfferingsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeReservedDBInstancesOfferingsResult
clone()
boolean
equals(Object obj)
String
getMarker()
An optional pagination token provided by a previous request.List<ReservedDBInstancesOffering>
getReservedDBInstancesOfferings()
A list of reserved DB instance offerings.int
hashCode()
void
setMarker(String marker)
An optional pagination token provided by a previous request.void
setReservedDBInstancesOfferings(Collection<ReservedDBInstancesOffering> reservedDBInstancesOfferings)
A list of reserved DB instance offerings.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeReservedDBInstancesOfferingsResult
withMarker(String marker)
An optional pagination token provided by a previous request.DescribeReservedDBInstancesOfferingsResult
withReservedDBInstancesOfferings(ReservedDBInstancesOffering... reservedDBInstancesOfferings)
A list of reserved DB instance offerings.DescribeReservedDBInstancesOfferingsResult
withReservedDBInstancesOfferings(Collection<ReservedDBInstancesOffering> reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
-
-
-
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 DescribeReservedDBInstancesOfferingsResult 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.
-
getReservedDBInstancesOfferings
public List<ReservedDBInstancesOffering> getReservedDBInstancesOfferings()
A list of reserved DB instance offerings.
- Returns:
- A list of reserved DB instance offerings.
-
setReservedDBInstancesOfferings
public void setReservedDBInstancesOfferings(Collection<ReservedDBInstancesOffering> reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
- Parameters:
reservedDBInstancesOfferings
- A list of reserved DB instance offerings.
-
withReservedDBInstancesOfferings
public DescribeReservedDBInstancesOfferingsResult withReservedDBInstancesOfferings(ReservedDBInstancesOffering... reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
NOTE: This method appends the values to the existing list (if any). Use
setReservedDBInstancesOfferings(java.util.Collection)
orwithReservedDBInstancesOfferings(java.util.Collection)
if you want to override the existing values.- Parameters:
reservedDBInstancesOfferings
- A list of reserved DB instance offerings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withReservedDBInstancesOfferings
public DescribeReservedDBInstancesOfferingsResult withReservedDBInstancesOfferings(Collection<ReservedDBInstancesOffering> reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
- Parameters:
reservedDBInstancesOfferings
- A list of reserved DB instance offerings.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeReservedDBInstancesOfferingsResult clone()
-
-