@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRecommendationSummariesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRecommendationSummariesResult() |
Modifier and Type | Method and Description |
---|---|
GetRecommendationSummariesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to advance to the next page of recommendation summaries.
|
List<RecommendationSummary> |
getRecommendationSummaries()
An array of objects that summarize a recommendation.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to advance to the next page of recommendation summaries.
|
void |
setRecommendationSummaries(Collection<RecommendationSummary> recommendationSummaries)
An array of objects that summarize a recommendation.
|
String |
toString()
Returns a string representation of this object.
|
GetRecommendationSummariesResult |
withNextToken(String nextToken)
The token to use to advance to the next page of recommendation summaries.
|
GetRecommendationSummariesResult |
withRecommendationSummaries(Collection<RecommendationSummary> recommendationSummaries)
An array of objects that summarize a recommendation.
|
GetRecommendationSummariesResult |
withRecommendationSummaries(RecommendationSummary... recommendationSummaries)
An array of objects that summarize a recommendation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token to use to advance to the next page of recommendation summaries.
This value is null when there are no more pages of recommendation summaries to return.
nextToken
- The token to use to advance to the next page of recommendation summaries.
This value is null when there are no more pages of recommendation summaries to return.
public String getNextToken()
The token to use to advance to the next page of recommendation summaries.
This value is null when there are no more pages of recommendation summaries to return.
This value is null when there are no more pages of recommendation summaries to return.
public GetRecommendationSummariesResult withNextToken(String nextToken)
The token to use to advance to the next page of recommendation summaries.
This value is null when there are no more pages of recommendation summaries to return.
nextToken
- The token to use to advance to the next page of recommendation summaries.
This value is null when there are no more pages of recommendation summaries to return.
public List<RecommendationSummary> getRecommendationSummaries()
An array of objects that summarize a recommendation.
public void setRecommendationSummaries(Collection<RecommendationSummary> recommendationSummaries)
An array of objects that summarize a recommendation.
recommendationSummaries
- An array of objects that summarize a recommendation.public GetRecommendationSummariesResult withRecommendationSummaries(RecommendationSummary... recommendationSummaries)
An array of objects that summarize a recommendation.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendationSummaries(java.util.Collection)
or
withRecommendationSummaries(java.util.Collection)
if you want to override the existing values.
recommendationSummaries
- An array of objects that summarize a recommendation.public GetRecommendationSummariesResult withRecommendationSummaries(Collection<RecommendationSummary> recommendationSummaries)
An array of objects that summarize a recommendation.
recommendationSummaries
- An array of objects that summarize a recommendation.public String toString()
toString
in class Object
Object.toString()
public GetRecommendationSummariesResult clone()