Class NumberAttributeBoostingConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.NumberAttributeBoostingConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NumberAttributeBoostingConfiguration.Builder,NumberAttributeBoostingConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class NumberAttributeBoostingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NumberAttributeBoostingConfiguration.Builder,NumberAttributeBoostingConfiguration>
Provides information on boosting
NUMBERtype 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 interfaceNumberAttributeBoostingConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentAttributeBoostingLevelboostingLevel()Specifies the duration, in seconds, of a boost applies to aNUMBERtype document attribute.StringboostingLevelAsString()Specifies the duration, in seconds, of a boost applies to aNUMBERtype document attribute.NumberAttributeBoostingTypeboostingType()Specifies how much a document attribute is boosted.StringboostingTypeAsString()Specifies how much a document attribute is boosted.static NumberAttributeBoostingConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends NumberAttributeBoostingConfiguration.Builder>serializableBuilderClass()NumberAttributeBoostingConfiguration.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 the duration, in seconds, of a boost applies to a
NUMBERtype document attribute.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 the duration, in seconds, of a boost applies to a
NUMBERtype document attribute. - See Also:
DocumentAttributeBoostingLevel
-
boostingLevelAsString
public final String boostingLevelAsString()
Specifies the duration, in seconds, of a boost applies to a
NUMBERtype document attribute.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 the duration, in seconds, of a boost applies to a
NUMBERtype document attribute. - See Also:
DocumentAttributeBoostingLevel
-
boostingType
public final NumberAttributeBoostingType boostingType()
Specifies how much a document attribute is boosted.
If the service returns an enum value that is not available in the current SDK version,
boostingTypewill returnNumberAttributeBoostingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromboostingTypeAsString().- Returns:
- Specifies how much a document attribute is boosted.
- See Also:
NumberAttributeBoostingType
-
boostingTypeAsString
public final String boostingTypeAsString()
Specifies how much a document attribute is boosted.
If the service returns an enum value that is not available in the current SDK version,
boostingTypewill returnNumberAttributeBoostingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromboostingTypeAsString().- Returns:
- Specifies how much a document attribute is boosted.
- See Also:
NumberAttributeBoostingType
-
toBuilder
public NumberAttributeBoostingConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NumberAttributeBoostingConfiguration.Builder,NumberAttributeBoostingConfiguration>
-
builder
public static NumberAttributeBoostingConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends NumberAttributeBoostingConfiguration.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.
-
-