@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NumberAttributeBoostingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides information on boosting NUMBER type document attributes.
For more information on how boosting document attributes work in Amazon Q Business, see Boosting using document attributes.
| Constructor and Description |
|---|
NumberAttributeBoostingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
NumberAttributeBoostingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBoostingLevel()
Specifies the duration, in seconds, of a boost applies to a
NUMBER type document attribute. |
String |
getBoostingType()
Specifies how much a document attribute is boosted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBoostingLevel(String boostingLevel)
Specifies the duration, in seconds, of a boost applies to a
NUMBER type document attribute. |
void |
setBoostingType(String boostingType)
Specifies how much a document attribute is boosted.
|
String |
toString()
Returns a string representation of this object.
|
NumberAttributeBoostingConfiguration |
withBoostingLevel(DocumentAttributeBoostingLevel boostingLevel)
Specifies the duration, in seconds, of a boost applies to a
NUMBER type document attribute. |
NumberAttributeBoostingConfiguration |
withBoostingLevel(String boostingLevel)
Specifies the duration, in seconds, of a boost applies to a
NUMBER type document attribute. |
NumberAttributeBoostingConfiguration |
withBoostingType(NumberAttributeBoostingType boostingType)
Specifies how much a document attribute is boosted.
|
NumberAttributeBoostingConfiguration |
withBoostingType(String boostingType)
Specifies how much a document attribute is boosted.
|
public NumberAttributeBoostingConfiguration()
public void setBoostingLevel(String boostingLevel)
Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.
boostingLevel - Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.DocumentAttributeBoostingLevelpublic String getBoostingLevel()
Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.
NUMBER type document attribute.DocumentAttributeBoostingLevelpublic NumberAttributeBoostingConfiguration withBoostingLevel(String boostingLevel)
Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.
boostingLevel - Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.DocumentAttributeBoostingLevelpublic NumberAttributeBoostingConfiguration withBoostingLevel(DocumentAttributeBoostingLevel boostingLevel)
Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.
boostingLevel - Specifies the duration, in seconds, of a boost applies to a NUMBER type document attribute.DocumentAttributeBoostingLevelpublic void setBoostingType(String boostingType)
Specifies how much a document attribute is boosted.
boostingType - Specifies how much a document attribute is boosted.NumberAttributeBoostingTypepublic String getBoostingType()
Specifies how much a document attribute is boosted.
NumberAttributeBoostingTypepublic NumberAttributeBoostingConfiguration withBoostingType(String boostingType)
Specifies how much a document attribute is boosted.
boostingType - Specifies how much a document attribute is boosted.NumberAttributeBoostingTypepublic NumberAttributeBoostingConfiguration withBoostingType(NumberAttributeBoostingType boostingType)
Specifies how much a document attribute is boosted.
boostingType - Specifies how much a document attribute is boosted.NumberAttributeBoostingTypepublic String toString()
toString in class ObjectObject.toString()public NumberAttributeBoostingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.