@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SuggestableConfig extends Object implements Serializable, Cloneable, StructuredPojo
Provides the configuration information for a document field/attribute that you want to base query suggestions on.
Constructor and Description |
---|
SuggestableConfig() |
Modifier and Type | Method and Description |
---|---|
SuggestableConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAttributeName()
The name of the document field/attribute.
|
Boolean |
getSuggestable()
TRUE means the document field/attribute is suggestible, so the contents within the field can be used
for query suggestions. |
int |
hashCode() |
Boolean |
isSuggestable()
TRUE means the document field/attribute is suggestible, so the contents within the field can be used
for query suggestions. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAttributeName(String attributeName)
The name of the document field/attribute.
|
void |
setSuggestable(Boolean suggestable)
TRUE means the document field/attribute is suggestible, so the contents within the field can be used
for query suggestions. |
String |
toString()
Returns a string representation of this object.
|
SuggestableConfig |
withAttributeName(String attributeName)
The name of the document field/attribute.
|
SuggestableConfig |
withSuggestable(Boolean suggestable)
TRUE means the document field/attribute is suggestible, so the contents within the field can be used
for query suggestions. |
public void setAttributeName(String attributeName)
The name of the document field/attribute.
attributeName
- The name of the document field/attribute.public String getAttributeName()
The name of the document field/attribute.
public SuggestableConfig withAttributeName(String attributeName)
The name of the document field/attribute.
attributeName
- The name of the document field/attribute.public void setSuggestable(Boolean suggestable)
TRUE
means the document field/attribute is suggestible, so the contents within the field can be used
for query suggestions.
suggestable
- TRUE
means the document field/attribute is suggestible, so the contents within the field can
be used for query suggestions.public Boolean getSuggestable()
TRUE
means the document field/attribute is suggestible, so the contents within the field can be used
for query suggestions.
TRUE
means the document field/attribute is suggestible, so the contents within the field can
be used for query suggestions.public SuggestableConfig withSuggestable(Boolean suggestable)
TRUE
means the document field/attribute is suggestible, so the contents within the field can be used
for query suggestions.
suggestable
- TRUE
means the document field/attribute is suggestible, so the contents within the field can
be used for query suggestions.public Boolean isSuggestable()
TRUE
means the document field/attribute is suggestible, so the contents within the field can be used
for query suggestions.
TRUE
means the document field/attribute is suggestible, so the contents within the field can
be used for query suggestions.public String toString()
toString
in class Object
Object.toString()
public SuggestableConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.