com.amazonaws.services.cloudsearchv2.model
Class DefineAnalysisSchemeRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.cloudsearchv2.model.DefineAnalysisSchemeRequest
All Implemented Interfaces:
Serializable

public class DefineAnalysisSchemeRequest
extends AmazonWebServiceRequest
implements Serializable

Container for the parameters to the DefineAnalysisScheme operation.

Configures an analysis scheme for a domain. An analysis scheme defines language-specific text processing options for a text field. For more information, see Configuring Analysis Schemes in the Amazon CloudSearch Developer Guide .

See Also:
AmazonCloudSearch.defineAnalysisScheme(DefineAnalysisSchemeRequest), Serialized Form

Constructor Summary
DefineAnalysisSchemeRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 AnalysisScheme getAnalysisScheme()
          Configuration information for an analysis scheme.
 String getDomainName()
          A string that represents the name of a domain.
 int hashCode()
           
 void setAnalysisScheme(AnalysisScheme analysisScheme)
          Configuration information for an analysis scheme.
 void setDomainName(String domainName)
          A string that represents the name of a domain.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DefineAnalysisSchemeRequest withAnalysisScheme(AnalysisScheme analysisScheme)
          Configuration information for an analysis scheme.
 DefineAnalysisSchemeRequest withDomainName(String domainName)
          A string that represents the name of a domain.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefineAnalysisSchemeRequest

public DefineAnalysisSchemeRequest()
Method Detail

getDomainName

public String getDomainName()
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+

Returns:
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

setDomainName

public void setDomainName(String domainName)
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+

Parameters:
domainName - A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

withDomainName

public DefineAnalysisSchemeRequest withDomainName(String domainName)
A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).

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

Constraints:
Length: 3 - 28
Pattern: [a-z][a-z0-9\-]+

Parameters:
domainName - A string that represents the name of a domain. Domain names are unique across the domains owned by an account within an AWS region. Domain names start with a letter or number and can contain the following characters: a-z (lowercase), 0-9, and - (hyphen).
Returns:
A reference to this updated object so that method calls can be chained together.

getAnalysisScheme

public AnalysisScheme getAnalysisScheme()
Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms, Stopwords, StemmingDictionary, and AlgorithmicStemming.

Returns:
Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms, Stopwords, StemmingDictionary, and AlgorithmicStemming.

setAnalysisScheme

public void setAnalysisScheme(AnalysisScheme analysisScheme)
Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms, Stopwords, StemmingDictionary, and AlgorithmicStemming.

Parameters:
analysisScheme - Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms, Stopwords, StemmingDictionary, and AlgorithmicStemming.

withAnalysisScheme

public DefineAnalysisSchemeRequest withAnalysisScheme(AnalysisScheme analysisScheme)
Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms, Stopwords, StemmingDictionary, and AlgorithmicStemming.

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

Parameters:
analysisScheme - Configuration information for an analysis scheme. Each analysis scheme has a unique name and specifies the language of the text to be processed. The following options can be configured for an analysis scheme: Synonyms, Stopwords, StemmingDictionary, and AlgorithmicStemming.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
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()
Overrides:
hashCode in class Object

equals

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


Copyright © 2016. All rights reserved.