@Generated(value="software.amazon.awssdk:codegen") public final class ScoreAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ScoreAttributes.Builder,ScoreAttributes>
Provides a relative ranking that indicates how confident Amazon Kendra is that the response matches the query.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ScoreAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ScoreAttributes.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ScoreConfidence |
scoreConfidence()
A relative ranking for how well the response matches the query.
|
String |
scoreConfidenceAsString()
A relative ranking for how well the response matches the query.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ScoreAttributes.Builder> |
serializableBuilderClass() |
ScoreAttributes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic ScoreConfidence scoreConfidence()
A relative ranking for how well the response matches the query.
If the service returns an enum value that is not available in the current SDK version, scoreConfidence
will return ScoreConfidence.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from scoreConfidenceAsString().
ScoreConfidencepublic String scoreConfidenceAsString()
A relative ranking for how well the response matches the query.
If the service returns an enum value that is not available in the current SDK version, scoreConfidence
will return ScoreConfidence.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from scoreConfidenceAsString().
ScoreConfidencepublic ScoreAttributes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ScoreAttributes.Builder,ScoreAttributes>public static ScoreAttributes.Builder builder()
public static Class<? extends ScoreAttributes.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.