@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSavingsPlanRatesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSavingsPlanRatesResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSavingsPlanRatesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
String |
getSavingsPlanId()
The ID of the Savings Plan.
|
List<SavingsPlanRate> |
getSearchResults()
Information about the Savings Plans rates.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setSavingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
|
void |
setSearchResults(Collection<SavingsPlanRate> searchResults)
Information about the Savings Plans rates.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSavingsPlanRatesResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeSavingsPlanRatesResult |
withSavingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
|
DescribeSavingsPlanRatesResult |
withSearchResults(Collection<SavingsPlanRate> searchResults)
Information about the Savings Plans rates.
|
DescribeSavingsPlanRatesResult |
withSearchResults(SavingsPlanRate... searchResults)
Information about the Savings Plans rates.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSavingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
savingsPlanId
- The ID of the Savings Plan.public String getSavingsPlanId()
The ID of the Savings Plan.
public DescribeSavingsPlanRatesResult withSavingsPlanId(String savingsPlanId)
The ID of the Savings Plan.
savingsPlanId
- The ID of the Savings Plan.public List<SavingsPlanRate> getSearchResults()
Information about the Savings Plans rates.
public void setSearchResults(Collection<SavingsPlanRate> searchResults)
Information about the Savings Plans rates.
searchResults
- Information about the Savings Plans rates.public DescribeSavingsPlanRatesResult withSearchResults(SavingsPlanRate... searchResults)
Information about the Savings Plans rates.
NOTE: This method appends the values to the existing list (if any). Use
setSearchResults(java.util.Collection)
or withSearchResults(java.util.Collection)
if you want
to override the existing values.
searchResults
- Information about the Savings Plans rates.public DescribeSavingsPlanRatesResult withSearchResults(Collection<SavingsPlanRate> searchResults)
Information about the Savings Plans rates.
searchResults
- Information about the Savings Plans rates.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
public DescribeSavingsPlanRatesResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null when there are no more results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null when there are no more results
to return.public String toString()
toString
in class Object
Object.toString()
public DescribeSavingsPlanRatesResult clone()