Interface GetRecommendationsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>,SdkBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>,SdkPojo,SdkRequest.Builder,WisdomRequest.Builder
- Enclosing class:
- GetRecommendationsRequest
public static interface GetRecommendationsRequest.Builder extends WisdomRequest.Builder, SdkPojo, CopyableBuilder<GetRecommendationsRequest.Builder,GetRecommendationsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetRecommendationsRequest.BuilderassistantId(String assistantId)The identifier of the Wisdom assistant.GetRecommendationsRequest.BuildermaxResults(Integer maxResults)The maximum number of results to return per page.GetRecommendationsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetRecommendationsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetRecommendationsRequest.BuildersessionId(String sessionId)The identifier of the session.GetRecommendationsRequest.BuilderwaitTimeSeconds(Integer waitTimeSeconds)The duration (in seconds) for which the call waits for a recommendation to be made available before returning.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.wisdom.model.WisdomRequest.Builder
build
-
-
-
-
Method Detail
-
assistantId
GetRecommendationsRequest.Builder assistantId(String assistantId)
The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
assistantId- The identifier of the Wisdom assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
GetRecommendationsRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return per page.
- Parameters:
maxResults- The maximum number of results to return per page.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionId
GetRecommendationsRequest.Builder sessionId(String sessionId)
The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
sessionId- The identifier of the session. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waitTimeSeconds
GetRecommendationsRequest.Builder waitTimeSeconds(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.- Parameters:
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 thanWaitTimeSeconds. If no messages are available and the wait time expires, the call returns successfully with an empty list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-