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