@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NativeIndexConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for an Amazon Q Business index.
Constructor and Description |
---|
NativeIndexConfiguration() |
Modifier and Type | Method and Description |
---|---|
NativeIndexConfiguration |
addBoostingOverrideEntry(String key,
DocumentAttributeBoostingConfiguration value)
Add a single BoostingOverride entry
|
NativeIndexConfiguration |
clearBoostingOverrideEntries()
Removes all the entries added into BoostingOverride.
|
NativeIndexConfiguration |
clone() |
boolean |
equals(Object obj) |
Map<String,DocumentAttributeBoostingConfiguration> |
getBoostingOverride()
Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.
|
String |
getIndexId()
The identifier for the Amazon Q Business index.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBoostingOverride(Map<String,DocumentAttributeBoostingConfiguration> boostingOverride)
Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.
|
void |
setIndexId(String indexId)
The identifier for the Amazon Q Business index.
|
String |
toString()
Returns a string representation of this object.
|
NativeIndexConfiguration |
withBoostingOverride(Map<String,DocumentAttributeBoostingConfiguration> boostingOverride)
Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.
|
NativeIndexConfiguration |
withIndexId(String indexId)
The identifier for the Amazon Q Business index.
|
public void setIndexId(String indexId)
The identifier for the Amazon Q Business index.
indexId
- The identifier for the Amazon Q Business index.public String getIndexId()
The identifier for the Amazon Q Business index.
public NativeIndexConfiguration withIndexId(String indexId)
The identifier for the Amazon Q Business index.
indexId
- The identifier for the Amazon Q Business index.public Map<String,DocumentAttributeBoostingConfiguration> getBoostingOverride()
Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.
public void setBoostingOverride(Map<String,DocumentAttributeBoostingConfiguration> boostingOverride)
Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.
boostingOverride
- Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.public NativeIndexConfiguration withBoostingOverride(Map<String,DocumentAttributeBoostingConfiguration> boostingOverride)
Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.
boostingOverride
- Overrides the default boosts applied by Amazon Q Business to supported document attribute data types.public NativeIndexConfiguration addBoostingOverrideEntry(String key, DocumentAttributeBoostingConfiguration value)
public NativeIndexConfiguration clearBoostingOverrideEntries()
public String toString()
toString
in class Object
Object.toString()
public NativeIndexConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.