public class LocalizedText extends Object implements Serializable, Cloneable
The textual identifier. This data type is used as the request parameter in the LocalizeText action.
Constructor and Description |
---|
LocalizedText() |
Modifier and Type | Method and Description |
---|---|
LocalizedText |
clone() |
boolean |
equals(Object obj) |
LocalizedTextKey |
getKey()
The facility and id properties of the LocalizedTextKey data type.
|
List<Parameter> |
getParameters()
Values for the dynamic elements of the string specified by the textual
identifier.
|
int |
hashCode() |
void |
setKey(LocalizedTextKey key)
The facility and id properties of the LocalizedTextKey data type.
|
void |
setParameters(Collection<Parameter> parameters)
Values for the dynamic elements of the string specified by the textual
identifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LocalizedText |
withKey(LocalizedTextKey key)
The facility and id properties of the LocalizedTextKey data type.
|
LocalizedText |
withParameters(Collection<Parameter> parameters)
Values for the dynamic elements of the string specified by the textual
identifier.
|
LocalizedText |
withParameters(Parameter... parameters)
Values for the dynamic elements of the string specified by the textual
identifier.
|
public void setKey(LocalizedTextKey key)
The facility and id properties of the LocalizedTextKey data type.
key
- The facility and id properties of the LocalizedTextKey data
type.public LocalizedTextKey getKey()
The facility and id properties of the LocalizedTextKey data type.
public LocalizedText withKey(LocalizedTextKey key)
The facility and id properties of the LocalizedTextKey data type.
key
- The facility and id properties of the LocalizedTextKey data
type.public List<Parameter> getParameters()
Values for the dynamic elements of the string specified by the textual identifier.
public void setParameters(Collection<Parameter> parameters)
Values for the dynamic elements of the string specified by the textual identifier.
parameters
- Values for the dynamic elements of the string specified by the
textual identifier.public LocalizedText withParameters(Parameter... parameters)
Values for the dynamic elements of the string specified by the textual identifier.
NOTE: This method appends the values to the existing list (if
any). Use setParameters(java.util.Collection)
or
withParameters(java.util.Collection)
if you want to override the
existing values.
parameters
- Values for the dynamic elements of the string specified by the
textual identifier.public LocalizedText withParameters(Collection<Parameter> parameters)
Values for the dynamic elements of the string specified by the textual identifier.
parameters
- Values for the dynamic elements of the string specified by the
textual identifier.public String toString()
toString
in class Object
Object.toString()
public LocalizedText clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.