@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRecommendationsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRecommendationsResult() |
Modifier and Type | Method and Description |
---|---|
GetRecommendationsResult |
clone() |
boolean |
equals(Object obj) |
List<RecommendationData> |
getRecommendations()
The recommendations.
|
List<RecommendationTrigger> |
getTriggers()
The triggers corresponding to recommendations.
|
int |
hashCode() |
void |
setRecommendations(Collection<RecommendationData> recommendations)
The recommendations.
|
void |
setTriggers(Collection<RecommendationTrigger> triggers)
The triggers corresponding to recommendations.
|
String |
toString()
Returns a string representation of this object.
|
GetRecommendationsResult |
withRecommendations(Collection<RecommendationData> recommendations)
The recommendations.
|
GetRecommendationsResult |
withRecommendations(RecommendationData... recommendations)
The recommendations.
|
GetRecommendationsResult |
withTriggers(Collection<RecommendationTrigger> triggers)
The triggers corresponding to recommendations.
|
GetRecommendationsResult |
withTriggers(RecommendationTrigger... triggers)
The triggers corresponding to recommendations.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<RecommendationData> getRecommendations()
The recommendations.
public void setRecommendations(Collection<RecommendationData> recommendations)
The recommendations.
recommendations
- The recommendations.public GetRecommendationsResult withRecommendations(RecommendationData... recommendations)
The recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendations(java.util.Collection)
or withRecommendations(java.util.Collection)
if you
want to override the existing values.
recommendations
- The recommendations.public GetRecommendationsResult withRecommendations(Collection<RecommendationData> recommendations)
The recommendations.
recommendations
- The recommendations.public List<RecommendationTrigger> getTriggers()
The triggers corresponding to recommendations.
public void setTriggers(Collection<RecommendationTrigger> triggers)
The triggers corresponding to recommendations.
triggers
- The triggers corresponding to recommendations.public GetRecommendationsResult withTriggers(RecommendationTrigger... triggers)
The triggers corresponding to recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setTriggers(java.util.Collection)
or withTriggers(java.util.Collection)
if you want to override
the existing values.
triggers
- The triggers corresponding to recommendations.public GetRecommendationsResult withTriggers(Collection<RecommendationTrigger> triggers)
The triggers corresponding to recommendations.
triggers
- The triggers corresponding to recommendations.public String toString()
toString
in class Object
Object.toString()
public GetRecommendationsResult clone()