Interface DescribeRescoreExecutionPlanResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRescoreExecutionPlanResponse.Builder,,DescribeRescoreExecutionPlanResponse> KendraRankingResponse.Builder,SdkBuilder<DescribeRescoreExecutionPlanResponse.Builder,,DescribeRescoreExecutionPlanResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeRescoreExecutionPlanResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the rescore execution plan.capacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits) The capacity units set for the rescore execution plan.capacityUnits(CapacityUnitsConfiguration capacityUnits) The capacity units set for the rescore execution plan.The Unix timestamp of when the rescore execution plan was created.description(String description) The description for the rescore execution plan.errorMessage(String errorMessage) When theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.The identifier of the rescore execution plan.The name for the rescore execution plan.The current status of the rescore execution plan.status(RescoreExecutionPlanStatus status) The current status of the rescore execution plan.The Unix timestamp of when the rescore execution plan was last updated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kendraranking.model.KendraRankingResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
id
The identifier of the rescore execution plan.
- Parameters:
id- The identifier of the rescore execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) of the rescore execution plan.
- Parameters:
arn- The Amazon Resource Name (ARN) of the rescore execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name for the rescore execution plan.
- Parameters:
name- The name for the rescore execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the rescore execution plan.
- Parameters:
description- The description for the rescore execution plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityUnits
DescribeRescoreExecutionPlanResponse.Builder capacityUnits(CapacityUnitsConfiguration capacityUnits) The capacity units set for the rescore execution plan. A capacity of zero indicates that the rescore execution plan is using the default capacity. For more information on the default capacity and additional capacity units, see Adjusting capacity.
- Parameters:
capacityUnits- The capacity units set for the rescore execution plan. A capacity of zero indicates that the rescore execution plan is using the default capacity. 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 DescribeRescoreExecutionPlanResponse.Builder capacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits) The capacity units set for the rescore execution plan. A capacity of zero indicates that the rescore execution plan is using the default capacity. 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:
-
createdAt
The Unix timestamp of when the rescore execution plan was created.
- Parameters:
createdAt- The Unix timestamp of when the rescore execution plan was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The Unix timestamp of when the rescore execution plan was last updated.
- Parameters:
updatedAt- The Unix timestamp of when the rescore execution plan was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the rescore execution plan. When the value is
ACTIVE, the rescore execution plan is ready for use. If theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Parameters:
status- The current status of the rescore execution plan. When the value isACTIVE, the rescore execution plan is ready for use. If theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the rescore execution plan. When the value is
ACTIVE, the rescore execution plan is ready for use. If theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Parameters:
status- The current status of the rescore execution plan. When the value isACTIVE, the rescore execution plan is ready for use. If theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
When the
Statusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Parameters:
errorMessage- When theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-