@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentAttributeBoostingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides information on boosting supported Amazon Q Business document attribute types. When an end user chat query matches document attributes that have been boosted, Amazon Q Business prioritizes generating responses from content that matches the boosted document attributes.
For STRING and STRING_LIST type document attributes to be used for boosting on the console
and the API, they must be enabled for search using the DocumentAttributeConfiguration object of the UpdateIndex API. If you
haven't enabled searching on these attributes, you can't boost attributes of these data types on either the console
or the API.
For more information on how boosting document attributes work in Amazon Q Business, see Boosting using document attributes.
| Constructor and Description |
|---|
DocumentAttributeBoostingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DocumentAttributeBoostingConfiguration |
clone() |
boolean |
equals(Object obj) |
DateAttributeBoostingConfiguration |
getDateConfiguration()
Provides information on boosting
DATE type document attributes. |
NumberAttributeBoostingConfiguration |
getNumberConfiguration()
Provides information on boosting
NUMBER type document attributes. |
StringAttributeBoostingConfiguration |
getStringConfiguration()
Provides information on boosting
STRING type document attributes. |
StringListAttributeBoostingConfiguration |
getStringListConfiguration()
Provides information on boosting
STRING_LIST type document attributes. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDateConfiguration(DateAttributeBoostingConfiguration dateConfiguration)
Provides information on boosting
DATE type document attributes. |
void |
setNumberConfiguration(NumberAttributeBoostingConfiguration numberConfiguration)
Provides information on boosting
NUMBER type document attributes. |
void |
setStringConfiguration(StringAttributeBoostingConfiguration stringConfiguration)
Provides information on boosting
STRING type document attributes. |
void |
setStringListConfiguration(StringListAttributeBoostingConfiguration stringListConfiguration)
Provides information on boosting
STRING_LIST type document attributes. |
String |
toString()
Returns a string representation of this object.
|
DocumentAttributeBoostingConfiguration |
withDateConfiguration(DateAttributeBoostingConfiguration dateConfiguration)
Provides information on boosting
DATE type document attributes. |
DocumentAttributeBoostingConfiguration |
withNumberConfiguration(NumberAttributeBoostingConfiguration numberConfiguration)
Provides information on boosting
NUMBER type document attributes. |
DocumentAttributeBoostingConfiguration |
withStringConfiguration(StringAttributeBoostingConfiguration stringConfiguration)
Provides information on boosting
STRING type document attributes. |
DocumentAttributeBoostingConfiguration |
withStringListConfiguration(StringListAttributeBoostingConfiguration stringListConfiguration)
Provides information on boosting
STRING_LIST type document attributes. |
public DocumentAttributeBoostingConfiguration()
public void setNumberConfiguration(NumberAttributeBoostingConfiguration numberConfiguration)
Provides information on boosting NUMBER type document attributes.
numberConfiguration - Provides information on boosting NUMBER type document attributes.public NumberAttributeBoostingConfiguration getNumberConfiguration()
Provides information on boosting NUMBER type document attributes.
NUMBER type document attributes.public DocumentAttributeBoostingConfiguration withNumberConfiguration(NumberAttributeBoostingConfiguration numberConfiguration)
Provides information on boosting NUMBER type document attributes.
numberConfiguration - Provides information on boosting NUMBER type document attributes.public void setStringConfiguration(StringAttributeBoostingConfiguration stringConfiguration)
Provides information on boosting STRING type document attributes.
stringConfiguration - Provides information on boosting STRING type document attributes.public StringAttributeBoostingConfiguration getStringConfiguration()
Provides information on boosting STRING type document attributes.
STRING type document attributes.public DocumentAttributeBoostingConfiguration withStringConfiguration(StringAttributeBoostingConfiguration stringConfiguration)
Provides information on boosting STRING type document attributes.
stringConfiguration - Provides information on boosting STRING type document attributes.public void setDateConfiguration(DateAttributeBoostingConfiguration dateConfiguration)
Provides information on boosting DATE type document attributes.
dateConfiguration - Provides information on boosting DATE type document attributes.public DateAttributeBoostingConfiguration getDateConfiguration()
Provides information on boosting DATE type document attributes.
DATE type document attributes.public DocumentAttributeBoostingConfiguration withDateConfiguration(DateAttributeBoostingConfiguration dateConfiguration)
Provides information on boosting DATE type document attributes.
dateConfiguration - Provides information on boosting DATE type document attributes.public void setStringListConfiguration(StringListAttributeBoostingConfiguration stringListConfiguration)
Provides information on boosting STRING_LIST type document attributes.
stringListConfiguration - Provides information on boosting STRING_LIST type document attributes.public StringListAttributeBoostingConfiguration getStringListConfiguration()
Provides information on boosting STRING_LIST type document attributes.
STRING_LIST type document attributes.public DocumentAttributeBoostingConfiguration withStringListConfiguration(StringListAttributeBoostingConfiguration stringListConfiguration)
Provides information on boosting STRING_LIST type document attributes.
stringListConfiguration - Provides information on boosting STRING_LIST type document attributes.public String toString()
toString in class ObjectObject.toString()public DocumentAttributeBoostingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.