|
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.SourceData
public class SourceData
The source attribute name and an optional default value to use if a document doesn't have an attribute of that name.
| Constructor Summary | |
|---|---|
SourceData()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDefaultValue()
The value of a field or source document attribute. |
java.lang.String |
getSourceName()
The name of the document source field to add to this IndexField. |
int |
hashCode()
|
void |
setDefaultValue(java.lang.String defaultValue)
The value of a field or source document attribute. |
void |
setSourceName(java.lang.String sourceName)
The name of the document source field to add to this IndexField. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
SourceData |
withDefaultValue(java.lang.String defaultValue)
The value of a field or source document attribute. |
SourceData |
withSourceName(java.lang.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 SourceData()
| Method Detail |
|---|
public java.lang.String getSourceName()
IndexField.
Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*
IndexField.public void setSourceName(java.lang.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 SourceData withSourceName(java.lang.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 java.lang.String getDefaultValue()
Constraints:
Length: 0 - 1024
public void setDefaultValue(java.lang.String defaultValue)
Constraints:
Length: 0 - 1024
defaultValue - The value of a field or source document attribute.public SourceData withDefaultValue(java.lang.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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||