StructuredPojo
, ToCopyableBuilder<SuggestionMatch.Builder,SuggestionMatch>
@Generated("software.amazon.awssdk:codegen") public class SuggestionMatch extends Object implements StructuredPojo, ToCopyableBuilder<SuggestionMatch.Builder,SuggestionMatch>
An autocomplete suggestion that matches the query string specified in a SuggestRequest
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
SuggestionMatch.Builder |
Modifier and Type | Method | Description |
---|---|---|
static SuggestionMatch.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The document ID of the suggested document.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Long |
score() |
The relevance score of a suggested match.
|
static Class<? extends SuggestionMatch.Builder> |
serializableBuilderClass() |
|
String |
suggestion() |
The string that matches the query string specified in the
SuggestRequest . |
SuggestionMatch.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String suggestion()
The string that matches the query string specified in the SuggestRequest
.
SuggestRequest
.public Long score()
The relevance score of a suggested match.
public String id()
The document ID of the suggested document.
public SuggestionMatch.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SuggestionMatch.Builder,SuggestionMatch>
public static SuggestionMatch.Builder builder()
public static Class<? extends SuggestionMatch.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.