@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentMetadataConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the properties, such as relevance tuning and searchability, of an index field.
| Constructor and Description |
|---|
DocumentMetadataConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
DocumentMetadataConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The name of the index field.
|
Relevance |
getRelevance()
Provides tuning parameters to determine how the field affects the search results.
|
Search |
getSearch()
Provides information about how the field is used during a search.
|
String |
getType()
The data type of the index field.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
The name of the index field.
|
void |
setRelevance(Relevance relevance)
Provides tuning parameters to determine how the field affects the search results.
|
void |
setSearch(Search search)
Provides information about how the field is used during a search.
|
void |
setType(String type)
The data type of the index field.
|
String |
toString()
Returns a string representation of this object.
|
DocumentMetadataConfiguration |
withName(String name)
The name of the index field.
|
DocumentMetadataConfiguration |
withRelevance(Relevance relevance)
Provides tuning parameters to determine how the field affects the search results.
|
DocumentMetadataConfiguration |
withSearch(Search search)
Provides information about how the field is used during a search.
|
DocumentMetadataConfiguration |
withType(DocumentAttributeValueType type)
The data type of the index field.
|
DocumentMetadataConfiguration |
withType(String type)
The data type of the index field.
|
public void setName(String name)
The name of the index field.
name - The name of the index field.public String getName()
The name of the index field.
public DocumentMetadataConfiguration withName(String name)
The name of the index field.
name - The name of the index field.public void setType(String type)
The data type of the index field.
type - The data type of the index field.DocumentAttributeValueTypepublic String getType()
The data type of the index field.
DocumentAttributeValueTypepublic DocumentMetadataConfiguration withType(String type)
The data type of the index field.
type - The data type of the index field.DocumentAttributeValueTypepublic DocumentMetadataConfiguration withType(DocumentAttributeValueType type)
The data type of the index field.
type - The data type of the index field.DocumentAttributeValueTypepublic void setRelevance(Relevance relevance)
Provides tuning parameters to determine how the field affects the search results.
relevance - Provides tuning parameters to determine how the field affects the search results.public Relevance getRelevance()
Provides tuning parameters to determine how the field affects the search results.
public DocumentMetadataConfiguration withRelevance(Relevance relevance)
Provides tuning parameters to determine how the field affects the search results.
relevance - Provides tuning parameters to determine how the field affects the search results.public void setSearch(Search search)
Provides information about how the field is used during a search.
search - Provides information about how the field is used during a search.public Search getSearch()
Provides information about how the field is used during a search.
public DocumentMetadataConfiguration withSearch(Search search)
Provides information about how the field is used during a search.
search - Provides information about how the field is used during a search.public String toString()
toString in class ObjectObject.toString()public DocumentMetadataConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.