@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSavingsPlansCoverageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSavingsPlansCoverageResult() |
Modifier and Type | Method and Description |
---|---|
GetSavingsPlansCoverageResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to retrieve the next set of results.
|
List<SavingsPlansCoverage> |
getSavingsPlansCoverages()
The amount of spend that your Savings Plans covered.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
void |
setSavingsPlansCoverages(Collection<SavingsPlansCoverage> savingsPlansCoverages)
The amount of spend that your Savings Plans covered.
|
String |
toString()
Returns a string representation of this object.
|
GetSavingsPlansCoverageResult |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
GetSavingsPlansCoverageResult |
withSavingsPlansCoverages(Collection<SavingsPlansCoverage> savingsPlansCoverages)
The amount of spend that your Savings Plans covered.
|
GetSavingsPlansCoverageResult |
withSavingsPlansCoverages(SavingsPlansCoverage... savingsPlansCoverages)
The amount of spend that your Savings Plans covered.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SavingsPlansCoverage> getSavingsPlansCoverages()
The amount of spend that your Savings Plans covered.
public void setSavingsPlansCoverages(Collection<SavingsPlansCoverage> savingsPlansCoverages)
The amount of spend that your Savings Plans covered.
savingsPlansCoverages
- The amount of spend that your Savings Plans covered.public GetSavingsPlansCoverageResult withSavingsPlansCoverages(SavingsPlansCoverage... savingsPlansCoverages)
The amount of spend that your Savings Plans covered.
NOTE: This method appends the values to the existing list (if any). Use
setSavingsPlansCoverages(java.util.Collection)
or
withSavingsPlansCoverages(java.util.Collection)
if you want to override the existing values.
savingsPlansCoverages
- The amount of spend that your Savings Plans covered.public GetSavingsPlansCoverageResult withSavingsPlansCoverages(Collection<SavingsPlansCoverage> savingsPlansCoverages)
The amount of spend that your Savings Plans covered.
savingsPlansCoverages
- The amount of spend that your Savings Plans covered.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 GetSavingsPlansCoverageResult 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 GetSavingsPlansCoverageResult clone()