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 theStatus
field value isFAILED
, theErrorMessage
field 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
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 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.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:
-
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 theStatus
field value isFAILED
, theErrorMessage
field 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 theStatus
field value isFAILED
, theErrorMessage
field 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 theStatus
field value isFAILED
, theErrorMessage
field 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 theStatus
field value isFAILED
, theErrorMessage
field 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
Status
field value isFAILED
, theErrorMessage
field contains a message that explains why.- Parameters:
errorMessage
- When theStatus
field value isFAILED
, theErrorMessage
field contains a message that explains why.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-