|
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.SourceDataTrimTitle
public class SourceDataTrimTitle
Specifies how to trim common words from the beginning of a field to enable title sorting by that field.
Constructor Summary | |
---|---|
SourceDataTrimTitle()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDefaultValue()
The value of a field or source document attribute. |
String |
getLanguage()
An IETF RFC 4646 language code. |
String |
getSeparator()
The separator that follows the text to trim. |
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 |
setLanguage(String language)
An IETF RFC 4646 language code. |
void |
setSeparator(String separator)
The separator that follows the text to trim. |
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. |
SourceDataTrimTitle |
withDefaultValue(String defaultValue)
The value of a field or source document attribute. |
SourceDataTrimTitle |
withLanguage(String language)
An IETF RFC 4646 language code. |
SourceDataTrimTitle |
withSeparator(String separator)
The separator that follows the text to trim. |
SourceDataTrimTitle |
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 SourceDataTrimTitle()
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 SourceDataTrimTitle 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 SourceDataTrimTitle 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 getSeparator()
public void setSeparator(String separator)
separator
- The separator that follows the text to trim.public SourceDataTrimTitle withSeparator(String separator)
Returns a reference to this object so that method calls can be chained together.
separator
- The separator that follows the text to trim.
public String getLanguage()
Constraints:
Pattern: [a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*
public void setLanguage(String language)
Constraints:
Pattern: [a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*
language
- An IETF RFC 4646
language code. Only the primary language is considered. English (en)
is currently the only supported language.public SourceDataTrimTitle withLanguage(String language)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*
language
- An IETF RFC 4646
language code. Only the primary language is considered. English (en)
is currently the only supported language.
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 |