@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRecommendationResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRecommendationResourcesResult() |
Modifier and Type | Method and Description |
---|---|
ListRecommendationResourcesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next set of results.
|
List<RecommendationResourceSummary> |
getRecommendationResourceSummaries()
A list of Recommendation Resources
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setRecommendationResourceSummaries(Collection<RecommendationResourceSummary> recommendationResourceSummaries)
A list of Recommendation Resources
|
String |
toString()
Returns a string representation of this object.
|
ListRecommendationResourcesResult |
withNextToken(String nextToken)
The token for the next set of results.
|
ListRecommendationResourcesResult |
withRecommendationResourceSummaries(Collection<RecommendationResourceSummary> recommendationResourceSummaries)
A list of Recommendation Resources
|
ListRecommendationResourcesResult |
withRecommendationResourceSummaries(RecommendationResourceSummary... recommendationResourceSummaries)
A list of Recommendation Resources
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListRecommendationResourcesResult withNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public List<RecommendationResourceSummary> getRecommendationResourceSummaries()
A list of Recommendation Resources
public void setRecommendationResourceSummaries(Collection<RecommendationResourceSummary> recommendationResourceSummaries)
A list of Recommendation Resources
recommendationResourceSummaries
- A list of Recommendation Resourcespublic ListRecommendationResourcesResult withRecommendationResourceSummaries(RecommendationResourceSummary... recommendationResourceSummaries)
A list of Recommendation Resources
NOTE: This method appends the values to the existing list (if any). Use
setRecommendationResourceSummaries(java.util.Collection)
or
withRecommendationResourceSummaries(java.util.Collection)
if you want to override the existing values.
recommendationResourceSummaries
- A list of Recommendation Resourcespublic ListRecommendationResourcesResult withRecommendationResourceSummaries(Collection<RecommendationResourceSummary> recommendationResourceSummaries)
A list of Recommendation Resources
recommendationResourceSummaries
- A list of Recommendation Resourcespublic String toString()
toString
in class Object
Object.toString()
public ListRecommendationResourcesResult clone()