|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.cloudsearch.model.SourceDataMap
public class SourceDataMap
Specifies how to map source attribute values to custom values when populating an IndexField .
| Constructor Summary | |
|---|---|
SourceDataMap()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Map<String,String> |
getCases()
A map that translates source field values to custom values. |
String |
getDefaultValue()
The value of a field or source document attribute. |
String |
getSourceName()
The name of the document source field to add to this IndexField. |
int |
hashCode()
|
void |
setCases(Map<String,String> cases)
A map that translates source field values to custom values. |
void |
setDefaultValue(String defaultValue)
The value of a field or source document attribute. |
void |
setSourceName(String sourceName)
The name of the document source field to add to this IndexField. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SourceDataMap |
withCases(Map<String,String> cases)
A map that translates source field values to custom values. |
SourceDataMap |
withDefaultValue(String defaultValue)
The value of a field or source document attribute. |
SourceDataMap |
withSourceName(String sourceName)
The name of the document source field to add to this IndexField. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SourceDataMap()
| Method Detail |
|---|
public String getSourceName()
IndexField.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
IndexField.public void setSourceName(String sourceName)
IndexField.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
sourceName - The name of the document source field to add to this
IndexField.public SourceDataMap withSourceName(String sourceName)
IndexField.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
sourceName - The name of the document source field to add to this
IndexField.
public String getDefaultValue()
Constraints:
Length: 0 - 1024
public void setDefaultValue(String defaultValue)
Constraints:
Length: 0 - 1024
defaultValue - The value of a field or source document attribute.public SourceDataMap withDefaultValue(String defaultValue)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
defaultValue - The value of a field or source document attribute.
public Map<String,String> getCases()
public void setCases(Map<String,String> cases)
cases - A map that translates source field values to custom values.public SourceDataMap withCases(Map<String,String> cases)
Returns a reference to this object so that method calls can be chained together.
cases - A map that translates source field values to custom values.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||