Class DescribeRescoreExecutionPlanResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.kendraranking.model.KendraRankingResponse
-
- software.amazon.awssdk.services.kendraranking.model.DescribeRescoreExecutionPlanResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeRescoreExecutionPlanResponse.Builder,DescribeRescoreExecutionPlanResponse>
@Generated("software.amazon.awssdk:codegen") public final class DescribeRescoreExecutionPlanResponse extends KendraRankingResponse implements ToCopyableBuilder<DescribeRescoreExecutionPlanResponse.Builder,DescribeRescoreExecutionPlanResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeRescoreExecutionPlanResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the rescore execution plan.static DescribeRescoreExecutionPlanResponse.Builderbuilder()CapacityUnitsConfigurationcapacityUnits()The capacity units set for the rescore execution plan.InstantcreatedAt()The Unix timestamp of when the rescore execution plan was created.Stringdescription()The description for the rescore execution plan.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorMessage()When theStatusfield value isFAILED, theErrorMessagefield contains a message that explains why.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The identifier of the rescore execution plan.Stringname()The name for the rescore execution plan.List<SdkField<?>>sdkFields()static Class<? extends DescribeRescoreExecutionPlanResponse.Builder>serializableBuilderClass()RescoreExecutionPlanStatusstatus()The current status of the rescore execution plan.StringstatusAsString()The current status of the rescore execution plan.DescribeRescoreExecutionPlanResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The Unix timestamp of when the rescore execution plan was last updated.-
Methods inherited from class software.amazon.awssdk.services.kendraranking.model.KendraRankingResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
The identifier of the rescore execution plan.
- Returns:
- The identifier of the rescore execution plan.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the rescore execution plan.
- Returns:
- The Amazon Resource Name (ARN) of the rescore execution plan.
-
name
public final String name()
The name for the rescore execution plan.
- Returns:
- The name for the rescore execution plan.
-
description
public final String description()
The description for the rescore execution plan.
- Returns:
- The description for the rescore execution plan.
-
capacityUnits
public final 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.
- Returns:
- 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.
-
createdAt
public final Instant createdAt()
The Unix timestamp of when the rescore execution plan was created.
- Returns:
- The Unix timestamp of when the rescore execution plan was created.
-
updatedAt
public final Instant updatedAt()
The Unix timestamp of when the rescore execution plan was last updated.
- Returns:
- The Unix timestamp of when the rescore execution plan was last updated.
-
status
public final 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.If the service returns an enum value that is not available in the current SDK version,
statuswill returnRescoreExecutionPlanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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. - See Also:
RescoreExecutionPlanStatus
-
statusAsString
public final String statusAsString()
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.If the service returns an enum value that is not available in the current SDK version,
statuswill returnRescoreExecutionPlanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- 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. - See Also:
RescoreExecutionPlanStatus
-
errorMessage
public final String errorMessage()
When the
Statusfield value isFAILED, theErrorMessagefield contains a message that explains why.- Returns:
- When the
Statusfield value isFAILED, theErrorMessagefield contains a message that explains why.
-
toBuilder
public DescribeRescoreExecutionPlanResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeRescoreExecutionPlanResponse.Builder,DescribeRescoreExecutionPlanResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static DescribeRescoreExecutionPlanResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeRescoreExecutionPlanResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-