@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSavingsPlansOfferingsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSavingsPlansOfferingsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSavingsPlansOfferingsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<SavingsPlanOffering> |
getSearchResults()
Information about the Savings Plans offerings.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setSearchResults(Collection<SavingsPlanOffering> searchResults)
Information about the Savings Plans offerings.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSavingsPlansOfferingsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribeSavingsPlansOfferingsResult |
withSearchResults(Collection<SavingsPlanOffering> searchResults)
Information about the Savings Plans offerings.
|
DescribeSavingsPlansOfferingsResult |
withSearchResults(SavingsPlanOffering... searchResults)
Information about the Savings Plans offerings.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<SavingsPlanOffering> getSearchResults()
Information about the Savings Plans offerings.
public void setSearchResults(Collection<SavingsPlanOffering> searchResults)
Information about the Savings Plans offerings.
searchResults
- Information about the Savings Plans offerings.public DescribeSavingsPlansOfferingsResult withSearchResults(SavingsPlanOffering... searchResults)
Information about the Savings Plans offerings.
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 offerings.public DescribeSavingsPlansOfferingsResult withSearchResults(Collection<SavingsPlanOffering> searchResults)
Information about the Savings Plans offerings.
searchResults
- Information about the Savings Plans offerings.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 DescribeSavingsPlansOfferingsResult 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 DescribeSavingsPlansOfferingsResult clone()