@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)
Marshalls this structured data using the given
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.DocumentAttributeBoostingLevel
public String getBoostingLevel()
Specifies how much a document attribute is boosted.
DocumentAttributeBoostingLevel
public StringListAttributeBoostingConfiguration withBoostingLevel(String boostingLevel)
Specifies how much a document attribute is boosted.
boostingLevel
- Specifies how much a document attribute is boosted.DocumentAttributeBoostingLevel
public StringListAttributeBoostingConfiguration withBoostingLevel(DocumentAttributeBoostingLevel boostingLevel)
Specifies how much a document attribute is boosted.
boostingLevel
- Specifies how much a document attribute is boosted.DocumentAttributeBoostingLevel
public String toString()
toString
in class Object
Object.toString()
public StringListAttributeBoostingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.