@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 covered by a reservation.
|
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 covered by a reservation.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 covered by a reservation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 covered by a reservation.
total - The total amount of instance usage covered by a reservation.public Coverage getTotal()
The total amount of instance usage covered by a reservation.
public GetReservationCoverageResult withTotal(Coverage total)
The total amount of instance usage covered by a reservation.
total - The total amount of instance usage covered by a reservation.public void setNextPageToken(String nextPageToken)
The token for the next set of retrievable results. AWS 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. AWS 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. AWS 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. AWS 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. AWS provides the token when the response from a
previous call has more results than the maximum page size.public String toString()
toString in class ObjectObject.toString()public GetReservationCoverageResult clone()
Copyright © 2018. All rights reserved.