@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetReservationCoverageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetReservationCoverageResult() |
Modifier and Type | Method and Description |
---|---|
GetReservationCoverageResult |
clone() |
boolean |
equals(Object obj) |
List<CoverageByTime> |
getCoveragesByTime()
The amount of time that your reservations covered.
|
String |
getNextPageToken()
The token for the next set of retrievable results.
|
Coverage |
getTotal()
The total amount of instance usage that a reservation covered.
|
int |
hashCode() |
void |
setCoveragesByTime(Collection<CoverageByTime> coveragesByTime)
The amount of time that your reservations covered.
|
void |
setNextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
void |
setTotal(Coverage total)
The total amount of instance usage that a reservation covered.
|
String |
toString()
Returns a string representation of this object.
|
GetReservationCoverageResult |
withCoveragesByTime(Collection<CoverageByTime> coveragesByTime)
The amount of time that your reservations covered.
|
GetReservationCoverageResult |
withCoveragesByTime(CoverageByTime... coveragesByTime)
The amount of time that your reservations covered.
|
GetReservationCoverageResult |
withNextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
GetReservationCoverageResult |
withTotal(Coverage total)
The total amount of instance usage that a reservation covered.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CoverageByTime> getCoveragesByTime()
The amount of time that your reservations covered.
public void setCoveragesByTime(Collection<CoverageByTime> coveragesByTime)
The amount of time that your reservations covered.
coveragesByTime
- The amount of time that your reservations covered.public GetReservationCoverageResult withCoveragesByTime(CoverageByTime... coveragesByTime)
The amount of time that your reservations covered.
NOTE: This method appends the values to the existing list (if any). Use
setCoveragesByTime(java.util.Collection)
or withCoveragesByTime(java.util.Collection)
if you
want to override the existing values.
coveragesByTime
- The amount of time that your reservations covered.public GetReservationCoverageResult withCoveragesByTime(Collection<CoverageByTime> coveragesByTime)
The amount of time that your reservations covered.
coveragesByTime
- The amount of time that your reservations covered.public void setTotal(Coverage total)
The total amount of instance usage that a reservation covered.
total
- The total amount of instance usage that a reservation covered.public Coverage getTotal()
The total amount of instance usage that a reservation covered.
public GetReservationCoverageResult withTotal(Coverage total)
The total amount of instance usage that a reservation covered.
total
- The total amount of instance usage that a reservation covered.public void setNextPageToken(String nextPageToken)
The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token for the next set of retrievable results. Amazon Web Services provides the token when the
response from a previous call has more results than the maximum page size.public String getNextPageToken()
The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
public GetReservationCoverageResult withNextPageToken(String nextPageToken)
The token for the next set of retrievable results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextPageToken
- The token for the next set of retrievable results. Amazon Web Services provides the token when the
response from a previous call has more results than the maximum page size.public String toString()
toString
in class Object
Object.toString()
public GetReservationCoverageResult clone()