Interface UpdateRescoreExecutionPlanRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRescoreExecutionPlanRequest.Builder,UpdateRescoreExecutionPlanRequest>,KendraRankingRequest.Builder,SdkBuilder<UpdateRescoreExecutionPlanRequest.Builder,UpdateRescoreExecutionPlanRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateRescoreExecutionPlanRequest
public static interface UpdateRescoreExecutionPlanRequest.Builder extends KendraRankingRequest.Builder, SdkPojo, CopyableBuilder<UpdateRescoreExecutionPlanRequest.Builder,UpdateRescoreExecutionPlanRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
id
UpdateRescoreExecutionPlanRequest.Builder id(String 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
UpdateRescoreExecutionPlanRequest.Builder name(String 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
UpdateRescoreExecutionPlanRequest.Builder description(String 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
UpdateRescoreExecutionPlanRequest.Builder capacityUnits(CapacityUnitsConfiguration 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.Builderavoiding the need to create one manually viaCapacityUnitsConfiguration.builder().When the
Consumercompletes,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:
capacityUnits(CapacityUnitsConfiguration)
-
overrideConfiguration
UpdateRescoreExecutionPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRescoreExecutionPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-