com.amazonaws.services.cloudsearch.model
Class SourceDataTrimTitle

java.lang.Object
  extended by com.amazonaws.services.cloudsearch.model.SourceDataTrimTitle
All Implemented Interfaces:
Serializable

Deprecated.

@Deprecated
public class SourceDataTrimTitle
extends Object
implements Serializable

Specifies how to trim common words from the beginning of a field to enable title sorting by that field.

See Also:
Serialized Form

Constructor Summary
SourceDataTrimTitle()
          Deprecated.  
 
Method Summary
 boolean equals(Object obj)
          Deprecated.  
 String getDefaultValue()
          Deprecated. The default value to use if the source attribute is not specified in a document.
 String getLanguage()
          Deprecated. An IETF RFC 4646 language code.
 String getSeparator()
          Deprecated. The separator that follows the text to trim.
 String getSourceName()
          Deprecated. The name of the document source field to add to this IndexField.
 int hashCode()
          Deprecated.  
 void setDefaultValue(String defaultValue)
          Deprecated. The default value to use if the source attribute is not specified in a document.
 void setLanguage(String language)
          Deprecated. An IETF RFC 4646 language code.
 void setSeparator(String separator)
          Deprecated. The separator that follows the text to trim.
 void setSourceName(String sourceName)
          Deprecated. The name of the document source field to add to this IndexField.
 String toString()
          Deprecated. Returns a string representation of this object; useful for testing and debugging.
 SourceDataTrimTitle withDefaultValue(String defaultValue)
          Deprecated. The default value to use if the source attribute is not specified in a document.
 SourceDataTrimTitle withLanguage(String language)
          Deprecated. An IETF RFC 4646 language code.
 SourceDataTrimTitle withSeparator(String separator)
          Deprecated. The separator that follows the text to trim.
 SourceDataTrimTitle withSourceName(String sourceName)
          Deprecated. The name of the document source field to add to this IndexField.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceDataTrimTitle

public SourceDataTrimTitle()
Deprecated. 
Method Detail

getSourceName

public String getSourceName()
Deprecated. 
The name of the document source field to add to this IndexField.

Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*

Returns:
The name of the document source field to add to this IndexField.

setSourceName

public void setSourceName(String sourceName)
Deprecated. 
The name of the document source field to add to this IndexField.

Constraints:
Length: 1 - 64
Pattern: [a-z][a-z0-9_]*

Parameters:
sourceName - The name of the document source field to add to this IndexField.

withSourceName

public SourceDataTrimTitle withSourceName(String sourceName)
Deprecated. 
The name of the document source field to add to this 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_]*

Parameters:
sourceName - The name of the document source field to add to this IndexField.
Returns:
A reference to this updated object so that method calls can be chained together.

getDefaultValue

public String getDefaultValue()
Deprecated. 
The default value to use if the source attribute is not specified in a document. Optional.

Constraints:
Length: 0 - 1024

Returns:
The default value to use if the source attribute is not specified in a document. Optional.

setDefaultValue

public void setDefaultValue(String defaultValue)
Deprecated. 
The default value to use if the source attribute is not specified in a document. Optional.

Constraints:
Length: 0 - 1024

Parameters:
defaultValue - The default value to use if the source attribute is not specified in a document. Optional.

withDefaultValue

public SourceDataTrimTitle withDefaultValue(String defaultValue)
Deprecated. 
The default value to use if the source attribute is not specified in a document. Optional.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 1024

Parameters:
defaultValue - The default value to use if the source attribute is not specified in a document. Optional.
Returns:
A reference to this updated object so that method calls can be chained together.

getSeparator

public String getSeparator()
Deprecated. 
The separator that follows the text to trim.

Returns:
The separator that follows the text to trim.

setSeparator

public void setSeparator(String separator)
Deprecated. 
The separator that follows the text to trim.

Parameters:
separator - The separator that follows the text to trim.

withSeparator

public SourceDataTrimTitle withSeparator(String separator)
Deprecated. 
The separator that follows the text to trim.

Returns a reference to this object so that method calls can be chained together.

Parameters:
separator - The separator that follows the text to trim.
Returns:
A reference to this updated object so that method calls can be chained together.

getLanguage

public String getLanguage()
Deprecated. 
An IETF RFC 4646 language code. Only the primary language is considered. English (en) is currently the only supported language.

Constraints:
Pattern: [a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*

Returns:
An IETF RFC 4646 language code. Only the primary language is considered. English (en) is currently the only supported language.

setLanguage

public void setLanguage(String language)
Deprecated. 
An IETF RFC 4646 language code. Only the primary language is considered. English (en) is currently the only supported language.

Constraints:
Pattern: [a-zA-Z]{2,8}(?:-[a-zA-Z]{2,8})*

Parameters:
language - An IETF RFC 4646 language code. Only the primary language is considered. English (en) is currently the only supported language.

withLanguage

public SourceDataTrimTitle withLanguage(String language)
Deprecated. 
An IETF RFC 4646 language code. Only the primary language is considered. English (en) is currently the only supported 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})*

Parameters:
language - An IETF RFC 4646 language code. Only the primary language is considered. English (en) is currently the only supported language.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Deprecated. 
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Deprecated. 
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Deprecated. 
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.