@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Suggestion extends Object implements Serializable, Cloneable, StructuredPojo
A single query suggestion.
Constructor and Description |
---|
Suggestion() |
Modifier and Type | Method and Description |
---|---|
Suggestion |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The UUID (universally unique identifier) of a single query suggestion.
|
SuggestionValue |
getValue()
The value for the UUID (universally unique identifier) of a single query suggestion.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setId(String id)
The UUID (universally unique identifier) of a single query suggestion.
|
void |
setValue(SuggestionValue value)
The value for the UUID (universally unique identifier) of a single query suggestion.
|
String |
toString()
Returns a string representation of this object.
|
Suggestion |
withId(String id)
The UUID (universally unique identifier) of a single query suggestion.
|
Suggestion |
withValue(SuggestionValue value)
The value for the UUID (universally unique identifier) of a single query suggestion.
|
public void setId(String id)
The UUID (universally unique identifier) of a single query suggestion.
id
- The UUID (universally unique identifier) of a single query suggestion.public String getId()
The UUID (universally unique identifier) of a single query suggestion.
public Suggestion withId(String id)
The UUID (universally unique identifier) of a single query suggestion.
id
- The UUID (universally unique identifier) of a single query suggestion.public void setValue(SuggestionValue value)
The value for the UUID (universally unique identifier) of a single query suggestion.
The value is the text string of a suggestion.
value
- The value for the UUID (universally unique identifier) of a single query suggestion.
The value is the text string of a suggestion.
public SuggestionValue getValue()
The value for the UUID (universally unique identifier) of a single query suggestion.
The value is the text string of a suggestion.
The value is the text string of a suggestion.
public Suggestion withValue(SuggestionValue value)
The value for the UUID (universally unique identifier) of a single query suggestion.
The value is the text string of a suggestion.
value
- The value for the UUID (universally unique identifier) of a single query suggestion.
The value is the text string of a suggestion.
public String toString()
toString
in class Object
Object.toString()
public Suggestion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.