@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRecommendationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetRecommendationsRequest() |
Modifier and Type | Method and Description |
---|---|
GetRecommendationsRequest |
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 Amazon Q in Connect assistant.
|
Integer |
getMaxResults()
The maximum number of results to return per page.
|
String |
getSessionId()
The identifier of the session.
|
Integer |
getWaitTimeSeconds()
The duration (in seconds) for which the call waits for a recommendation to be made available before returning.
|
int |
hashCode() |
void |
setAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
void |
setSessionId(String sessionId)
The identifier of the session.
|
void |
setWaitTimeSeconds(Integer waitTimeSeconds)
The duration (in seconds) for which the call waits for a recommendation to be made available before returning.
|
String |
toString()
Returns a string representation of this object.
|
GetRecommendationsRequest |
withAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant.
|
GetRecommendationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return per page.
|
GetRecommendationsRequest |
withSessionId(String sessionId)
The identifier of the session.
|
GetRecommendationsRequest |
withWaitTimeSeconds(Integer waitTimeSeconds)
The duration (in seconds) for which the call waits for a recommendation to be made available before returning.
|
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 void setAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain
the ARN.public String getAssistantId()
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
public GetRecommendationsRequest withAssistantId(String assistantId)
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
assistantId
- The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain
the ARN.public void setMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.public Integer getMaxResults()
The maximum number of results to return per page.
public GetRecommendationsRequest withMaxResults(Integer maxResults)
The maximum number of results to return per page.
maxResults
- The maximum number of results to return per page.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 GetRecommendationsRequest 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 void setWaitTimeSeconds(Integer waitTimeSeconds)
The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If
a recommendation is available, the call returns sooner than WaitTimeSeconds
. If no messages are
available and the wait time expires, the call returns successfully with an empty list.
waitTimeSeconds
- The duration (in seconds) for which the call waits for a recommendation to be made available before
returning. If a recommendation is available, the call returns sooner than WaitTimeSeconds
. If
no messages are available and the wait time expires, the call returns successfully with an empty list.public Integer getWaitTimeSeconds()
The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If
a recommendation is available, the call returns sooner than WaitTimeSeconds
. If no messages are
available and the wait time expires, the call returns successfully with an empty list.
WaitTimeSeconds
.
If no messages are available and the wait time expires, the call returns successfully with an empty list.public GetRecommendationsRequest withWaitTimeSeconds(Integer waitTimeSeconds)
The duration (in seconds) for which the call waits for a recommendation to be made available before returning. If
a recommendation is available, the call returns sooner than WaitTimeSeconds
. If no messages are
available and the wait time expires, the call returns successfully with an empty list.
waitTimeSeconds
- The duration (in seconds) for which the call waits for a recommendation to be made available before
returning. If a recommendation is available, the call returns sooner than WaitTimeSeconds
. If
no messages are available and the wait time expires, the call returns successfully with an empty list.public String toString()
toString
in class Object
Object.toString()
public GetRecommendationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()