Class AdditionalResultAttribute
- java.lang.Object
-
- software.amazon.awssdk.services.kendra.model.AdditionalResultAttribute
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AdditionalResultAttribute.Builder,AdditionalResultAttribute>
@Generated("software.amazon.awssdk:codegen") public final class AdditionalResultAttribute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AdditionalResultAttribute.Builder,AdditionalResultAttribute>
An attribute returned from an index query.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAdditionalResultAttribute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AdditionalResultAttribute.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The key that identifies the attribute.List<SdkField<?>>sdkFields()static Class<? extends AdditionalResultAttribute.Builder>serializableBuilderClass()AdditionalResultAttribute.BuildertoBuilder()StringtoString()Returns a string representation of this object.AdditionalResultAttributeValuevalue()An object that contains the attribute value.AdditionalResultAttributeValueTypevalueType()The data type of theValueproperty.StringvalueTypeAsString()The data type of theValueproperty.-
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
-
key
public final String key()
The key that identifies the attribute.
- Returns:
- The key that identifies the attribute.
-
valueType
public final AdditionalResultAttributeValueType valueType()
The data type of the
Valueproperty.If the service returns an enum value that is not available in the current SDK version,
valueTypewill returnAdditionalResultAttributeValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalueTypeAsString().- Returns:
- The data type of the
Valueproperty. - See Also:
AdditionalResultAttributeValueType
-
valueTypeAsString
public final String valueTypeAsString()
The data type of the
Valueproperty.If the service returns an enum value that is not available in the current SDK version,
valueTypewill returnAdditionalResultAttributeValueType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvalueTypeAsString().- Returns:
- The data type of the
Valueproperty. - See Also:
AdditionalResultAttributeValueType
-
value
public final AdditionalResultAttributeValue value()
An object that contains the attribute value.
- Returns:
- An object that contains the attribute value.
-
toBuilder
public AdditionalResultAttribute.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AdditionalResultAttribute.Builder,AdditionalResultAttribute>
-
builder
public static AdditionalResultAttribute.Builder builder()
-
serializableBuilderClass
public static Class<? extends AdditionalResultAttribute.Builder> serializableBuilderClass()
-
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.
-
-