@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSavingsPlansUtilizationDetailsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSavingsPlansUtilizationDetailsResult() |
Modifier and Type | Method and Description |
---|---|
GetSavingsPlansUtilizationDetailsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to retrieve the next set of results.
|
List<SavingsPlansUtilizationDetail> |
getSavingsPlansUtilizationDetails()
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
|
DateInterval |
getTimePeriod() |
SavingsPlansUtilizationAggregates |
getTotal()
The total Savings Plans utilization, regardless of time period.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
void |
setSavingsPlansUtilizationDetails(Collection<SavingsPlansUtilizationDetail> savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
|
void |
setTimePeriod(DateInterval timePeriod) |
void |
setTotal(SavingsPlansUtilizationAggregates total)
The total Savings Plans utilization, regardless of time period.
|
String |
toString()
Returns a string representation of this object.
|
GetSavingsPlansUtilizationDetailsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
GetSavingsPlansUtilizationDetailsResult |
withSavingsPlansUtilizationDetails(Collection<SavingsPlansUtilizationDetail> savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
|
GetSavingsPlansUtilizationDetailsResult |
withSavingsPlansUtilizationDetails(SavingsPlansUtilizationDetail... savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
|
GetSavingsPlansUtilizationDetailsResult |
withTimePeriod(DateInterval timePeriod) |
GetSavingsPlansUtilizationDetailsResult |
withTotal(SavingsPlansUtilizationAggregates total)
The total Savings Plans utilization, regardless of time period.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetSavingsPlansUtilizationDetailsResult()
public List<SavingsPlansUtilizationDetail> getSavingsPlansUtilizationDetails()
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
public void setSavingsPlansUtilizationDetails(Collection<SavingsPlansUtilizationDetail> savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
savingsPlansUtilizationDetails
- Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.public GetSavingsPlansUtilizationDetailsResult withSavingsPlansUtilizationDetails(SavingsPlansUtilizationDetail... savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
NOTE: This method appends the values to the existing list (if any). Use
setSavingsPlansUtilizationDetails(java.util.Collection)
or
withSavingsPlansUtilizationDetails(java.util.Collection)
if you want to override the existing values.
savingsPlansUtilizationDetails
- Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.public GetSavingsPlansUtilizationDetailsResult withSavingsPlansUtilizationDetails(Collection<SavingsPlansUtilizationDetail> savingsPlansUtilizationDetails)
Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.
savingsPlansUtilizationDetails
- Retrieves a single daily or monthly Savings Plans utilization rate and details for your account.public void setTotal(SavingsPlansUtilizationAggregates total)
The total Savings Plans utilization, regardless of time period.
total
- The total Savings Plans utilization, regardless of time period.public SavingsPlansUtilizationAggregates getTotal()
The total Savings Plans utilization, regardless of time period.
public GetSavingsPlansUtilizationDetailsResult withTotal(SavingsPlansUtilizationAggregates total)
The total Savings Plans utilization, regardless of time period.
total
- The total Savings Plans utilization, regardless of time period.public void setTimePeriod(DateInterval timePeriod)
timePeriod
- public DateInterval getTimePeriod()
public GetSavingsPlansUtilizationDetailsResult withTimePeriod(DateInterval timePeriod)
timePeriod
- public void setNextToken(String nextToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextToken
- The token to retrieve the next set of results. Amazon Web Services provides the token when the response
from a previous call has more results than the maximum page size.public String getNextToken()
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
public GetSavingsPlansUtilizationDetailsResult withNextToken(String nextToken)
The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
nextToken
- The token to retrieve the next set of 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 GetSavingsPlansUtilizationDetailsResult clone()