Interface ListRecommendationsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockAgentCoreRequest.Builder,Buildable,CopyableBuilder<ListRecommendationsRequest.Builder,,ListRecommendationsRequest> SdkBuilder<ListRecommendationsRequest.Builder,,ListRecommendationsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListRecommendationsRequest
@Mutable
@NotThreadSafe
public static interface ListRecommendationsRequest.Builder
extends BedrockAgentCoreRequest.Builder, SdkPojo, CopyableBuilder<ListRecommendationsRequest.Builder,ListRecommendationsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionmaxResults(Integer maxResults) The maximum number of results to return in the response.If the total number of results is greater than themaxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) statusFilter(String statusFilter) Optional filter to return only recommendations with the specified status.statusFilter(RecommendationStatus statusFilter) Optional filter to return only recommendations with the specified status.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
maxResults
The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the
nextTokenfield when making another request to return the next batch of results.- Parameters:
maxResults- The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in thenextTokenfield when making another request to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
If the total number of results is greater than the
maxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.- Parameters:
nextToken- If the total number of results is greater than themaxResultsvalue provided in the request, enter the token returned in thenextTokenfield in the response in this field to return the next batch of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusFilter
Optional filter to return only recommendations with the specified status.
- Parameters:
statusFilter- Optional filter to return only recommendations with the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusFilter
Optional filter to return only recommendations with the specified status.
- Parameters:
statusFilter- Optional filter to return only recommendations with the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListRecommendationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListRecommendationsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-