@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotifyRecommendationsReceivedRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
NotifyRecommendationsReceivedRequest() |
Modifier and Type | Method and Description |
---|---|
NotifyRecommendationsReceivedRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAssistantId()
The identifier of the Wisdom assistant.
|
List<String> |
getRecommendationIds()
The identifiers of the recommendations.
|
String |
getSessionId()
The identifier of the session.
|
int |
hashCode() |
void |
setAssistantId(String assistantId)
The identifier of the Wisdom assistant.
|
void |
setRecommendationIds(Collection<String> recommendationIds)
The identifiers of the recommendations.
|
void |
setSessionId(String sessionId)
The identifier of the session.
|
String |
toString()
Returns a string representation of this object.
|
NotifyRecommendationsReceivedRequest |
withAssistantId(String assistantId)
The identifier of the Wisdom assistant.
|
NotifyRecommendationsReceivedRequest |
withRecommendationIds(Collection<String> recommendationIds)
The identifiers of the recommendations.
|
NotifyRecommendationsReceivedRequest |
withRecommendationIds(String... recommendationIds)
The identifiers of the recommendations.
|
NotifyRecommendationsReceivedRequest |
withSessionId(String sessionId)
The identifier of the session.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public NotifyRecommendationsReceivedRequest()
public void setAssistantId(String assistantId)
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getAssistantId()
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
public NotifyRecommendationsReceivedRequest withAssistantId(String assistantId)
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.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 NotifyRecommendationsReceivedRequest 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 NotifyRecommendationsReceivedRequest withRecommendationIds(Collection<String> recommendationIds)
The identifiers of the recommendations.
recommendationIds
- The identifiers of the recommendations.public void setSessionId(String sessionId)
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sessionId
- The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getSessionId()
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
public NotifyRecommendationsReceivedRequest withSessionId(String sessionId)
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
sessionId
- The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.public String toString()
toString
in class Object
Object.toString()
public NotifyRecommendationsReceivedRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()