@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StringListAttributeBoostingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides information on boosting STRING_LIST type 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 |
|---|
StringListAttributeBoostingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
StringListAttributeBoostingConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getBoostingLevel()
Specifies how much a document attribute is boosted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBoostingLevel(String boostingLevel)
Specifies how much a document attribute is boosted.
|
String |
toString()
Returns a string representation of this object.
|
StringListAttributeBoostingConfiguration |
withBoostingLevel(DocumentAttributeBoostingLevel boostingLevel)
Specifies how much a document attribute is boosted.
|
StringListAttributeBoostingConfiguration |
withBoostingLevel(String boostingLevel)
Specifies how much a document attribute is boosted.
|
public StringListAttributeBoostingConfiguration()
public void setBoostingLevel(String boostingLevel)
Specifies how much a document attribute is boosted.
boostingLevel - Specifies how much a document attribute is boosted.DocumentAttributeBoostingLevelpublic String getBoostingLevel()
Specifies how much a document attribute is boosted.
DocumentAttributeBoostingLevelpublic StringListAttributeBoostingConfiguration withBoostingLevel(String boostingLevel)
Specifies how much a document attribute is boosted.
boostingLevel - Specifies how much a document attribute is boosted.DocumentAttributeBoostingLevelpublic StringListAttributeBoostingConfiguration withBoostingLevel(DocumentAttributeBoostingLevel boostingLevel)
Specifies how much a document attribute is boosted.
boostingLevel - Specifies how much a document attribute is boosted.DocumentAttributeBoostingLevelpublic String toString()
toString in class ObjectObject.toString()public StringListAttributeBoostingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.