Class GetRecommendationsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.qconnect.model.QConnectRequest
-
- software.amazon.awssdk.services.qconnect.model.GetRecommendationsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetRecommendationsRequest extends QConnectRequest implements ToCopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRecommendationsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringassistantId()The identifier of the Amazon Q assistant.static GetRecommendationsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return per page.List<SdkField<?>>sdkFields()static Class<? extends GetRecommendationsRequest.Builder>serializableBuilderClass()StringsessionId()The identifier of the session.GetRecommendationsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegerwaitTimeSeconds()The duration (in seconds) for which the call waits for a recommendation to be made available before returning.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
assistantId
public final String assistantId()
The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Returns:
- The identifier of the Amazon Q assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
maxResults
public final Integer maxResults()
The maximum number of results to return per page.
- Returns:
- The maximum number of results to return per page.
-
sessionId
public final String sessionId()
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Returns:
- The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
-
waitTimeSeconds
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.- Returns:
- 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.
-
toBuilder
public GetRecommendationsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>- Specified by:
toBuilderin classQConnectRequest
-
builder
public static GetRecommendationsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRecommendationsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-