@Generated(value="software.amazon.awssdk:codegen") public final class GetRecommendationsRequest extends WisdomRequest implements ToCopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetRecommendationsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
assistantId()
The identifier of the Wisdom assistant.
|
static GetRecommendationsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxResults()
The maximum number of results to return per page.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRecommendationsRequest.Builder> |
serializableBuilderClass() |
String |
sessionId()
The identifier of the session.
|
GetRecommendationsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
waitTimeSeconds()
The duration (in seconds) for which the call waits for a recommendation to be made available before returning.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String assistantId()
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
public final Integer maxResults()
The maximum number of results to return per page.
public final String sessionId()
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
public final 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.
If no messages are available and the wait time expires, the call returns successfully with an empty list.public GetRecommendationsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>toBuilder in class WisdomRequestpublic static GetRecommendationsRequest.Builder builder()
public static Class<? extends GetRecommendationsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.