@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DateAttributeBoostingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Provides information on boosting DATE type document attributes.
For more information on how boosting document attributes work in Amazon Q, see Boosting using document attributes.
| Constructor and Description |
|---|
DateAttributeBoostingConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DateAttributeBoostingConfiguration |
clone() |
boolean |
equals(Object obj) |
Long |
getBoostingDurationInSeconds()
Specifies the duration, in seconds, of a boost applies to a
DATE type document attribute. |
String |
getBoostingLevel()
Specifies how much a document attribute is boosted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setBoostingDurationInSeconds(Long boostingDurationInSeconds)
Specifies the duration, in seconds, of a boost applies to a
DATE type document attribute. |
void |
setBoostingLevel(String boostingLevel)
Specifies how much a document attribute is boosted.
|
String |
toString()
Returns a string representation of this object.
|
DateAttributeBoostingConfiguration |
withBoostingDurationInSeconds(Long boostingDurationInSeconds)
Specifies the duration, in seconds, of a boost applies to a
DATE type document attribute. |
DateAttributeBoostingConfiguration |
withBoostingLevel(DocumentAttributeBoostingLevel boostingLevel)
Specifies how much a document attribute is boosted.
|
DateAttributeBoostingConfiguration |
withBoostingLevel(String boostingLevel)
Specifies how much a document attribute is boosted.
|
public void setBoostingDurationInSeconds(Long boostingDurationInSeconds)
Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.
boostingDurationInSeconds - Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.public Long getBoostingDurationInSeconds()
Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.
DATE type document attribute.public DateAttributeBoostingConfiguration withBoostingDurationInSeconds(Long boostingDurationInSeconds)
Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.
boostingDurationInSeconds - Specifies the duration, in seconds, of a boost applies to a DATE type document attribute.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 DateAttributeBoostingConfiguration withBoostingLevel(String boostingLevel)
Specifies how much a document attribute is boosted.
boostingLevel - Specifies how much a document attribute is boosted.DocumentAttributeBoostingLevelpublic DateAttributeBoostingConfiguration 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 DateAttributeBoostingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2024. All rights reserved.