@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotifyRecommendationsReceivedResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
NotifyRecommendationsReceivedResult() |
Modifier and Type | Method and Description |
---|---|
NotifyRecommendationsReceivedResult |
clone() |
boolean |
equals(Object obj) |
List<NotifyRecommendationsReceivedError> |
getErrors()
The identifiers of recommendations that are causing errors.
|
List<String> |
getRecommendationIds()
The identifiers of the recommendations.
|
int |
hashCode() |
void |
setErrors(Collection<NotifyRecommendationsReceivedError> errors)
The identifiers of recommendations that are causing errors.
|
void |
setRecommendationIds(Collection<String> recommendationIds)
The identifiers of the recommendations.
|
String |
toString()
Returns a string representation of this object.
|
NotifyRecommendationsReceivedResult |
withErrors(Collection<NotifyRecommendationsReceivedError> errors)
The identifiers of recommendations that are causing errors.
|
NotifyRecommendationsReceivedResult |
withErrors(NotifyRecommendationsReceivedError... errors)
The identifiers of recommendations that are causing errors.
|
NotifyRecommendationsReceivedResult |
withRecommendationIds(Collection<String> recommendationIds)
The identifiers of the recommendations.
|
NotifyRecommendationsReceivedResult |
withRecommendationIds(String... recommendationIds)
The identifiers of the recommendations.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<NotifyRecommendationsReceivedError> getErrors()
The identifiers of recommendations that are causing errors.
public void setErrors(Collection<NotifyRecommendationsReceivedError> errors)
The identifiers of recommendations that are causing errors.
errors
- The identifiers of recommendations that are causing errors.public NotifyRecommendationsReceivedResult withErrors(NotifyRecommendationsReceivedError... errors)
The identifiers of recommendations that are causing errors.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- The identifiers of recommendations that are causing errors.public NotifyRecommendationsReceivedResult withErrors(Collection<NotifyRecommendationsReceivedError> errors)
The identifiers of recommendations that are causing errors.
errors
- The identifiers of recommendations that are causing errors.public List<String> getRecommendationIds()
The identifiers of the recommendations.
public void setRecommendationIds(Collection<String> recommendationIds)
The identifiers of the recommendations.
recommendationIds
- The identifiers of the recommendations.public NotifyRecommendationsReceivedResult withRecommendationIds(String... recommendationIds)
The identifiers of the recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendationIds(java.util.Collection)
or withRecommendationIds(java.util.Collection)
if
you want to override the existing values.
recommendationIds
- The identifiers of the recommendations.public NotifyRecommendationsReceivedResult withRecommendationIds(Collection<String> recommendationIds)
The identifiers of the recommendations.
recommendationIds
- The identifiers of the recommendations.public String toString()
toString
in class Object
Object.toString()
public NotifyRecommendationsReceivedResult clone()