public class DescribeReservedDBInstancesOfferingsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the result of a successful invocation of the DescribeReservedDBInstancesOfferings action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
marker
An optional pagination token provided by a previous request.
|
private SdkInternalList<ReservedDBInstancesOffering> |
reservedDBInstancesOfferings
A list of reserved DB instance offerings.
|
Constructor and Description |
---|
DescribeReservedDBInstancesOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeReservedDBInstancesOfferingsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMarker()
An optional pagination token provided by a previous request.
|
java.util.List<ReservedDBInstancesOffering> |
getReservedDBInstancesOfferings()
A list of reserved DB instance offerings.
|
int |
hashCode() |
void |
setMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
void |
setReservedDBInstancesOfferings(java.util.Collection<ReservedDBInstancesOffering> reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeReservedDBInstancesOfferingsResult |
withMarker(java.lang.String marker)
An optional pagination token provided by a previous request.
|
DescribeReservedDBInstancesOfferingsResult |
withReservedDBInstancesOfferings(java.util.Collection<ReservedDBInstancesOffering> reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
|
DescribeReservedDBInstancesOfferingsResult |
withReservedDBInstancesOfferings(ReservedDBInstancesOffering... reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
|
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<ReservedDBInstancesOffering> reservedDBInstancesOfferings
A list of reserved DB instance offerings.
public DescribeReservedDBInstancesOfferingsResult()
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 DescribeReservedDBInstancesOfferingsResult 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<ReservedDBInstancesOffering> getReservedDBInstancesOfferings()
A list of reserved DB instance offerings.
public void setReservedDBInstancesOfferings(java.util.Collection<ReservedDBInstancesOffering> reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
reservedDBInstancesOfferings
- A list of reserved DB instance offerings.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)
or withReservedDBInstancesOfferings(java.util.Collection)
if you
want to override the existing values.
reservedDBInstancesOfferings
- A list of reserved DB instance offerings.public DescribeReservedDBInstancesOfferingsResult withReservedDBInstancesOfferings(java.util.Collection<ReservedDBInstancesOffering> reservedDBInstancesOfferings)
A list of reserved DB instance offerings.
reservedDBInstancesOfferings
- A list of reserved DB instance offerings.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 DescribeReservedDBInstancesOfferingsResult clone()
clone
in class java.lang.Object