Interface UpdateRescoreExecutionPlanRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateRescoreExecutionPlanRequest.Builder,
,UpdateRescoreExecutionPlanRequest> KendraRankingRequest.Builder
,SdkBuilder<UpdateRescoreExecutionPlanRequest.Builder,
,UpdateRescoreExecutionPlanRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateRescoreExecutionPlanRequest
-
Method Summary
Modifier and TypeMethodDescriptioncapacityUnits
(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits) You can set additional capacity units to meet the needs of your rescore execution plan.capacityUnits
(CapacityUnitsConfiguration capacityUnits) You can set additional capacity units to meet the needs of your rescore execution plan.description
(String description) A new description for the rescore execution plan.The identifier of the rescore execution plan that you want to update.A new name for the rescore execution plan.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.services.kendraranking.model.KendraRankingRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The identifier of the rescore execution plan that you want to update.
- Parameters:
id
- The identifier of the rescore execution plan that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A new name for the rescore execution plan.
- Parameters:
name
- A new name for the rescore execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A new description for the rescore execution plan.
- Parameters:
description
- A new description for the rescore execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see Adjusting capacity.
- Parameters:
capacityUnits
- You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see Adjusting capacity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
default UpdateRescoreExecutionPlanRequest.Builder capacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits) You can set additional capacity units to meet the needs of your rescore execution plan. You are given a single capacity unit by default. If you want to use the default capacity, you don't set additional capacity units. For more information on the default capacity and additional capacity units, see Adjusting capacity.
This is a convenience method that creates an instance of theCapacityUnitsConfiguration.Builder
avoiding the need to create one manually viaCapacityUnitsConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapacityUnits(CapacityUnitsConfiguration)
.- Parameters:
capacityUnits
- a consumer that will call methods onCapacityUnitsConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateRescoreExecutionPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRescoreExecutionPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-