@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecommendationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRecommendationsResult() |
Modifier and Type | Method and Description |
---|---|
ListRecommendationsResult |
clone() |
boolean |
equals(Object obj) |
List<Recommendation> |
getItems()
List of all savings recommendations.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
int |
hashCode() |
void |
setItems(Collection<Recommendation> items)
List of all savings recommendations.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListRecommendationsResult |
withItems(Collection<Recommendation> items)
List of all savings recommendations.
|
ListRecommendationsResult |
withItems(Recommendation... items)
List of all savings recommendations.
|
ListRecommendationsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Recommendation> getItems()
List of all savings recommendations.
public void setItems(Collection<Recommendation> items)
List of all savings recommendations.
items
- List of all savings recommendations.public ListRecommendationsResult withItems(Recommendation... items)
List of all savings recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- List of all savings recommendations.public ListRecommendationsResult withItems(Collection<Recommendation> items)
List of all savings recommendations.
items
- List of all savings recommendations.public void setNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.public String getNextToken()
The token to retrieve the next set of results.
public ListRecommendationsResult withNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken
- The token to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListRecommendationsResult clone()