Interface DescribeRescoreExecutionPlanResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeRescoreExecutionPlanResponse.Builder,DescribeRescoreExecutionPlanResponse>,KendraRankingResponse.Builder,SdkBuilder<DescribeRescoreExecutionPlanResponse.Builder,DescribeRescoreExecutionPlanResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeRescoreExecutionPlanResponse
public static interface DescribeRescoreExecutionPlanResponse.Builder extends KendraRankingResponse.Builder, SdkPojo, CopyableBuilder<DescribeRescoreExecutionPlanResponse.Builder,DescribeRescoreExecutionPlanResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeRescoreExecutionPlanResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the rescore execution plan.default DescribeRescoreExecutionPlanResponse.BuildercapacityUnits(Consumer<CapacityUnitsConfiguration.Builder> capacityUnits)The capacity units set for the rescore execution plan.DescribeRescoreExecutionPlanResponse.BuildercapacityUnits(CapacityUnitsConfiguration capacityUnits)The capacity units set for the rescore execution plan.DescribeRescoreExecutionPlanResponse.BuildercreatedAt(Instant createdAt)The Unix timestamp of when the rescore execution plan was created.DescribeRescoreExecutionPlanResponse.Builderdescription(String description)The description for the rescore execution plan.DescribeRescoreExecutionPlanResponse.BuildererrorMessage(String errorMessage)When theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.DescribeRescoreExecutionPlanResponse.Builderid(String id)The identifier of the rescore execution plan.DescribeRescoreExecutionPlanResponse.Buildername(String name)The name for the rescore execution plan.DescribeRescoreExecutionPlanResponse.Builderstatus(String status)The current status of the rescore execution plan.DescribeRescoreExecutionPlanResponse.Builderstatus(RescoreExecutionPlanStatus status)The current status of the rescore execution plan.DescribeRescoreExecutionPlanResponse.BuilderupdatedAt(Instant updatedAt)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 Detail
-
id
DescribeRescoreExecutionPlanResponse.Builder id(String 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
DescribeRescoreExecutionPlanResponse.Builder arn(String 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
DescribeRescoreExecutionPlanResponse.Builder name(String 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
DescribeRescoreExecutionPlanResponse.Builder description(String 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:
capacityUnits(CapacityUnitsConfiguration)
-
createdAt
DescribeRescoreExecutionPlanResponse.Builder createdAt(Instant 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
DescribeRescoreExecutionPlanResponse.Builder updatedAt(Instant 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
DescribeRescoreExecutionPlanResponse.Builder status(String 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:
RescoreExecutionPlanStatus,RescoreExecutionPlanStatus
-
status
DescribeRescoreExecutionPlanResponse.Builder status(RescoreExecutionPlanStatus 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:
RescoreExecutionPlanStatus,RescoreExecutionPlanStatus
-
errorMessage
DescribeRescoreExecutionPlanResponse.Builder errorMessage(String 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.
-
-