@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QuickResponseQueryField extends Object implements Serializable, Cloneable, StructuredPojo
The quick response fields to query quick responses by.
The following is the list of supported field names.
content
name
description
shortcutKey
Constructor and Description |
---|
QuickResponseQueryField() |
Modifier and Type | Method and Description |
---|---|
QuickResponseQueryField |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllowFuzziness()
Whether the query expects only exact matches on the attribute field values.
|
String |
getName()
The name of the attribute to query the quick responses by.
|
String |
getOperator()
The operator to use for matching attribute field values in the query.
|
String |
getPriority()
The importance of the attribute field when calculating query result relevancy scores.
|
List<String> |
getValues()
The values of the attribute to query the quick responses by.
|
int |
hashCode() |
Boolean |
isAllowFuzziness()
Whether the query expects only exact matches on the attribute field values.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowFuzziness(Boolean allowFuzziness)
Whether the query expects only exact matches on the attribute field values.
|
void |
setName(String name)
The name of the attribute to query the quick responses by.
|
void |
setOperator(String operator)
The operator to use for matching attribute field values in the query.
|
void |
setPriority(String priority)
The importance of the attribute field when calculating query result relevancy scores.
|
void |
setValues(Collection<String> values)
The values of the attribute to query the quick responses by.
|
String |
toString()
Returns a string representation of this object.
|
QuickResponseQueryField |
withAllowFuzziness(Boolean allowFuzziness)
Whether the query expects only exact matches on the attribute field values.
|
QuickResponseQueryField |
withName(String name)
The name of the attribute to query the quick responses by.
|
QuickResponseQueryField |
withOperator(QuickResponseQueryOperator operator)
The operator to use for matching attribute field values in the query.
|
QuickResponseQueryField |
withOperator(String operator)
The operator to use for matching attribute field values in the query.
|
QuickResponseQueryField |
withPriority(Priority priority)
The importance of the attribute field when calculating query result relevancy scores.
|
QuickResponseQueryField |
withPriority(String priority)
The importance of the attribute field when calculating query result relevancy scores.
|
QuickResponseQueryField |
withValues(Collection<String> values)
The values of the attribute to query the quick responses by.
|
QuickResponseQueryField |
withValues(String... values)
The values of the attribute to query the quick responses by.
|
public void setAllowFuzziness(Boolean allowFuzziness)
Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false.
allowFuzziness
- Whether the query expects only exact matches on the attribute field values. The results of the query will
only include exact matches if this parameter is set to false.public Boolean getAllowFuzziness()
Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false.
public QuickResponseQueryField withAllowFuzziness(Boolean allowFuzziness)
Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false.
allowFuzziness
- Whether the query expects only exact matches on the attribute field values. The results of the query will
only include exact matches if this parameter is set to false.public Boolean isAllowFuzziness()
Whether the query expects only exact matches on the attribute field values. The results of the query will only include exact matches if this parameter is set to false.
public void setName(String name)
The name of the attribute to query the quick responses by.
name
- The name of the attribute to query the quick responses by.public String getName()
The name of the attribute to query the quick responses by.
public QuickResponseQueryField withName(String name)
The name of the attribute to query the quick responses by.
name
- The name of the attribute to query the quick responses by.public void setOperator(String operator)
The operator to use for matching attribute field values in the query.
operator
- The operator to use for matching attribute field values in the query.QuickResponseQueryOperator
public String getOperator()
The operator to use for matching attribute field values in the query.
QuickResponseQueryOperator
public QuickResponseQueryField withOperator(String operator)
The operator to use for matching attribute field values in the query.
operator
- The operator to use for matching attribute field values in the query.QuickResponseQueryOperator
public QuickResponseQueryField withOperator(QuickResponseQueryOperator operator)
The operator to use for matching attribute field values in the query.
operator
- The operator to use for matching attribute field values in the query.QuickResponseQueryOperator
public void setPriority(String priority)
The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results.
priority
- The importance of the attribute field when calculating query result relevancy scores. The value set for
this parameter affects the ordering of search results.Priority
public String getPriority()
The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results.
Priority
public QuickResponseQueryField withPriority(String priority)
The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results.
priority
- The importance of the attribute field when calculating query result relevancy scores. The value set for
this parameter affects the ordering of search results.Priority
public QuickResponseQueryField withPriority(Priority priority)
The importance of the attribute field when calculating query result relevancy scores. The value set for this parameter affects the ordering of search results.
priority
- The importance of the attribute field when calculating query result relevancy scores. The value set for
this parameter affects the ordering of search results.Priority
public List<String> getValues()
The values of the attribute to query the quick responses by.
public void setValues(Collection<String> values)
The values of the attribute to query the quick responses by.
values
- The values of the attribute to query the quick responses by.public QuickResponseQueryField withValues(String... values)
The values of the attribute to query the quick responses by.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection)
or withValues(java.util.Collection)
if you want to override the
existing values.
values
- The values of the attribute to query the quick responses by.public QuickResponseQueryField withValues(Collection<String> values)
The values of the attribute to query the quick responses by.
values
- The values of the attribute to query the quick responses by.public String toString()
toString
in class Object
Object.toString()
public QuickResponseQueryField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.