@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetReservationUtilizationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetReservationUtilizationResult() |
Modifier and Type | Method and Description |
---|---|
GetReservationUtilizationResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextPageToken()
The token for the next set of retrievable results.
|
ReservationAggregates |
getTotal()
The total amount of time that you used your RIs.
|
List<UtilizationByTime> |
getUtilizationsByTime()
The amount of time that you used your RIs.
|
int |
hashCode() |
void |
setNextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
void |
setTotal(ReservationAggregates total)
The total amount of time that you used your RIs.
|
void |
setUtilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)
The amount of time that you used your RIs.
|
String |
toString()
Returns a string representation of this object.
|
GetReservationUtilizationResult |
withNextPageToken(String nextPageToken)
The token for the next set of retrievable results.
|
GetReservationUtilizationResult |
withTotal(ReservationAggregates total)
The total amount of time that you used your RIs.
|
GetReservationUtilizationResult |
withUtilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)
The amount of time that you used your RIs.
|
GetReservationUtilizationResult |
withUtilizationsByTime(UtilizationByTime... utilizationsByTime)
The amount of time that you used your RIs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UtilizationByTime> getUtilizationsByTime()
The amount of time that you used your RIs.
public void setUtilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)
The amount of time that you used your RIs.
utilizationsByTime
- The amount of time that you used your RIs.public GetReservationUtilizationResult withUtilizationsByTime(UtilizationByTime... utilizationsByTime)
The amount of time that you used your RIs.
NOTE: This method appends the values to the existing list (if any). Use
setUtilizationsByTime(java.util.Collection)
or withUtilizationsByTime(java.util.Collection)
if
you want to override the existing values.
utilizationsByTime
- The amount of time that you used your RIs.public GetReservationUtilizationResult withUtilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)
The amount of time that you used your RIs.
utilizationsByTime
- The amount of time that you used your RIs.public void setTotal(ReservationAggregates total)
The total amount of time that you used your RIs.
total
- The total amount of time that you used your RIs.public ReservationAggregates getTotal()
The total amount of time that you used your RIs.
public GetReservationUtilizationResult withTotal(ReservationAggregates total)
The total amount of time that you used your RIs.
total
- The total amount of time that you used your RIs.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 GetReservationUtilizationResult 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 Object
Object.toString()
public GetReservationUtilizationResult clone()