public class LocalizeTextRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
LocalizeTextRequest() |
Modifier and Type | Method and Description |
---|---|
LocalizeTextRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getLocale()
The locale that you want to translate a textual identifier into.
|
List<LocalizedText> |
getLocalizedTexts()
A list of textual identifiers.
|
int |
hashCode() |
void |
setLocale(String locale)
The locale that you want to translate a textual identifier into.
|
void |
setLocalizedTexts(Collection<LocalizedText> localizedTexts)
A list of textual identifiers.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LocalizeTextRequest |
withLocale(String locale)
The locale that you want to translate a textual identifier into.
|
LocalizeTextRequest |
withLocalizedTexts(Collection<LocalizedText> localizedTexts)
A list of textual identifiers.
|
LocalizeTextRequest |
withLocalizedTexts(LocalizedText... localizedTexts)
A list of textual identifiers.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public List<LocalizedText> getLocalizedTexts()
A list of textual identifiers.
public void setLocalizedTexts(Collection<LocalizedText> localizedTexts)
A list of textual identifiers.
localizedTexts
- A list of textual identifiers.public LocalizeTextRequest withLocalizedTexts(LocalizedText... localizedTexts)
A list of textual identifiers.
NOTE: This method appends the values to the existing list (if
any). Use setLocalizedTexts(java.util.Collection)
or
withLocalizedTexts(java.util.Collection)
if you want to override
the existing values.
localizedTexts
- A list of textual identifiers.public LocalizeTextRequest withLocalizedTexts(Collection<LocalizedText> localizedTexts)
A list of textual identifiers.
localizedTexts
- A list of textual identifiers.public void setLocale(String locale)
The locale that you want to translate a textual identifier into.
locale
- The locale that you want to translate a textual identifier into.public String getLocale()
The locale that you want to translate a textual identifier into.
public LocalizeTextRequest withLocale(String locale)
The locale that you want to translate a textual identifier into.
locale
- The locale that you want to translate a textual identifier into.public String toString()
toString
in class Object
Object.toString()
public LocalizeTextRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.