public class LocalizeTextResult extends Object implements Serializable, Cloneable
Constructor and Description |
---|
LocalizeTextResult() |
Modifier and Type | Method and Description |
---|---|
LocalizeTextResult |
clone() |
boolean |
equals(Object obj) |
String |
getMessage()
Confirmation details of the action performed.
|
List<String> |
getResults()
The resulting list of user-readable texts.
|
int |
hashCode() |
void |
setMessage(String message)
Confirmation details of the action performed.
|
void |
setResults(Collection<String> results)
The resulting list of user-readable texts.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
LocalizeTextResult |
withMessage(String message)
Confirmation details of the action performed.
|
LocalizeTextResult |
withResults(Collection<String> results)
The resulting list of user-readable texts.
|
LocalizeTextResult |
withResults(String... results)
The resulting list of user-readable texts.
|
public void setMessage(String message)
Confirmation details of the action performed.
message
- Confirmation details of the action performed.public String getMessage()
Confirmation details of the action performed.
public LocalizeTextResult withMessage(String message)
Confirmation details of the action performed.
message
- Confirmation details of the action performed.public List<String> getResults()
The resulting list of user-readable texts.
public void setResults(Collection<String> results)
The resulting list of user-readable texts.
results
- The resulting list of user-readable texts.public LocalizeTextResult withResults(String... results)
The resulting list of user-readable texts.
NOTE: This method appends the values to the existing list (if
any). Use setResults(java.util.Collection)
or
withResults(java.util.Collection)
if you want to override the
existing values.
results
- The resulting list of user-readable texts.public LocalizeTextResult withResults(Collection<String> results)
The resulting list of user-readable texts.
results
- The resulting list of user-readable texts.public String toString()
toString
in class Object
Object.toString()
public LocalizeTextResult clone()
Copyright © 2015. All rights reserved.