Interface CreateRescoreExecutionPlanRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRescoreExecutionPlanRequest.Builder,,CreateRescoreExecutionPlanRequest> KendraRankingRequest.Builder,SdkBuilder<CreateRescoreExecutionPlanRequest.Builder,,CreateRescoreExecutionPlanRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateRescoreExecutionPlanRequest
-
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.clientToken(String clientToken) A token that you provide to identify the request to create a rescore execution plan.description(String description) A description for the rescore execution plan.A 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.tags(Collection<Tag> tags) A list of key-value pairs that identify or categorize your rescore execution plan.tags(Consumer<Tag.Builder>... tags) A list of key-value pairs that identify or categorize your rescore execution plan.A list of key-value pairs that identify or categorize your rescore execution plan.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendraranking.model.KendraRankingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
A name for the rescore execution plan.
- Parameters:
name- A name for the rescore execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the rescore execution plan.
- Parameters:
description- A 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 CreateRescoreExecutionPlanRequest.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:
-
tags
A list of key-value pairs that identify or categorize your rescore execution plan. You can also use tags to help control access to the rescore execution plan. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
- Parameters:
tags- A list of key-value pairs that identify or categorize your rescore execution plan. You can also use tags to help control access to the rescore execution plan. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs that identify or categorize your rescore execution plan. You can also use tags to help control access to the rescore execution plan. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
- Parameters:
tags- A list of key-value pairs that identify or categorize your rescore execution plan. You can also use tags to help control access to the rescore execution plan. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of key-value pairs that identify or categorize your rescore execution plan. You can also use tags to help control access to the rescore execution plan. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A token that you provide to identify the request to create a rescore execution plan. Multiple calls to the
CreateRescoreExecutionPlanRequestAPI with the same client token will create only one rescore execution plan.- Parameters:
clientToken- A token that you provide to identify the request to create a rescore execution plan. Multiple calls to theCreateRescoreExecutionPlanRequestAPI with the same client token will create only one rescore execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRescoreExecutionPlanRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRescoreExecutionPlanRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-