Interface ListRescoreExecutionPlansResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRescoreExecutionPlansResponse.Builder,ListRescoreExecutionPlansResponse>,KendraRankingResponse.Builder,SdkBuilder<ListRescoreExecutionPlansResponse.Builder,ListRescoreExecutionPlansResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRescoreExecutionPlansResponse
public static interface ListRescoreExecutionPlansResponse.Builder extends KendraRankingResponse.Builder, SdkPojo, CopyableBuilder<ListRescoreExecutionPlansResponse.Builder,ListRescoreExecutionPlansResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRescoreExecutionPlansResponse.BuildernextToken(String nextToken)If the response is truncated, Amazon Kendra Intelligent Ranking returns a pagination token in the response.ListRescoreExecutionPlansResponse.BuildersummaryItems(Collection<RescoreExecutionPlanSummary> summaryItems)An array of summary information for one or more rescore execution plans.ListRescoreExecutionPlansResponse.BuildersummaryItems(Consumer<RescoreExecutionPlanSummary.Builder>... summaryItems)An array of summary information for one or more rescore execution plans.ListRescoreExecutionPlansResponse.BuildersummaryItems(RescoreExecutionPlanSummary... summaryItems)An array of summary information for one or more rescore execution plans.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kendraranking.model.KendraRankingResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
summaryItems
ListRescoreExecutionPlansResponse.Builder summaryItems(Collection<RescoreExecutionPlanSummary> summaryItems)
An array of summary information for one or more rescore execution plans.
- Parameters:
summaryItems- An array of summary information for one or more rescore execution plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryItems
ListRescoreExecutionPlansResponse.Builder summaryItems(RescoreExecutionPlanSummary... summaryItems)
An array of summary information for one or more rescore execution plans.
- Parameters:
summaryItems- An array of summary information for one or more rescore execution plans.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summaryItems
ListRescoreExecutionPlansResponse.Builder summaryItems(Consumer<RescoreExecutionPlanSummary.Builder>... summaryItems)
An array of summary information for one or more rescore execution plans.
This is a convenience method that creates an instance of theRescoreExecutionPlanSummary.Builderavoiding the need to create one manually viaRescoreExecutionPlanSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#summaryItems(List.) - Parameters:
summaryItems- a consumer that will call methods onRescoreExecutionPlanSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#summaryItems(java.util.Collection)
-
nextToken
ListRescoreExecutionPlansResponse.Builder nextToken(String nextToken)
If the response is truncated, Amazon Kendra Intelligent Ranking returns a pagination token in the response.
- Parameters:
nextToken- If the response is truncated, Amazon Kendra Intelligent Ranking returns a pagination token in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-