|
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(Object obj)
|
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 |
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. |
SourceData |
withDefaultValue(String defaultValue)
The value of a field or source document attribute. |
SourceData |
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 SourceData()
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 SourceData 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 SourceData 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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |