Class DateAttributeBoostingConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.DateAttributeBoostingConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DateAttributeBoostingConfiguration.Builder,DateAttributeBoostingConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DateAttributeBoostingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DateAttributeBoostingConfiguration.Builder,DateAttributeBoostingConfiguration>
Provides information on boosting
DATEtype document attributes.For more information on how boosting document attributes work in Amazon Q Business, see Boosting using document attributes.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDateAttributeBoostingConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LongboostingDurationInSeconds()Specifies the duration, in seconds, of a boost applies to aDATEtype document attribute.DocumentAttributeBoostingLevelboostingLevel()Specifies how much a document attribute is boosted.StringboostingLevelAsString()Specifies how much a document attribute is boosted.static DateAttributeBoostingConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DateAttributeBoostingConfiguration.Builder>serializableBuilderClass()DateAttributeBoostingConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
boostingLevel
public final DocumentAttributeBoostingLevel boostingLevel()
Specifies how much a document attribute is boosted.
If the service returns an enum value that is not available in the current SDK version,
boostingLevelwill returnDocumentAttributeBoostingLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromboostingLevelAsString().- Returns:
- Specifies how much a document attribute is boosted.
- See Also:
DocumentAttributeBoostingLevel
-
boostingLevelAsString
public final String boostingLevelAsString()
Specifies how much a document attribute is boosted.
If the service returns an enum value that is not available in the current SDK version,
boostingLevelwill returnDocumentAttributeBoostingLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromboostingLevelAsString().- Returns:
- Specifies how much a document attribute is boosted.
- See Also:
DocumentAttributeBoostingLevel
-
boostingDurationInSeconds
public final Long boostingDurationInSeconds()
Specifies the duration, in seconds, of a boost applies to a
DATEtype document attribute.- Returns:
- Specifies the duration, in seconds, of a boost applies to a
DATEtype document attribute.
-
toBuilder
public DateAttributeBoostingConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DateAttributeBoostingConfiguration.Builder,DateAttributeBoostingConfiguration>
-
builder
public static DateAttributeBoostingConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DateAttributeBoostingConfiguration.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.
-
-