@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 Reserved Instances (RIs).
|
List<UtilizationByTime> |
getUtilizationsByTime()
The amount of time that you used your Reserved Instances (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 Reserved Instances (RIs).
|
void |
setUtilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)
The amount of time that you used your Reserved Instances (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 Reserved Instances (RIs).
|
GetReservationUtilizationResult |
withUtilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)
The amount of time that you used your Reserved Instances (RIs).
|
GetReservationUtilizationResult |
withUtilizationsByTime(UtilizationByTime... utilizationsByTime)
The amount of time that you used your Reserved Instances (RIs).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UtilizationByTime> getUtilizationsByTime()
The amount of time that you used your Reserved Instances (RIs).
public void setUtilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)
The amount of time that you used your Reserved Instances (RIs).
utilizationsByTime
- The amount of time that you used your Reserved Instances (RIs).public GetReservationUtilizationResult withUtilizationsByTime(UtilizationByTime... utilizationsByTime)
The amount of time that you used your Reserved Instances (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 Reserved Instances (RIs).public GetReservationUtilizationResult withUtilizationsByTime(Collection<UtilizationByTime> utilizationsByTime)
The amount of time that you used your Reserved Instances (RIs).
utilizationsByTime
- The amount of time that you used your Reserved Instances (RIs).public void setTotal(ReservationAggregates total)
The total amount of time that you used your Reserved Instances (RIs).
total
- The total amount of time that you used your Reserved Instances (RIs).public ReservationAggregates getTotal()
The total amount of time that you used your Reserved Instances (RIs).
public GetReservationUtilizationResult withTotal(ReservationAggregates total)
The total amount of time that you used your Reserved Instances (RIs).
total
- The total amount of time that you used your Reserved Instances (RIs).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 GetReservationUtilizationResult 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 GetReservationUtilizationResult clone()