@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Term extends Object implements Serializable, Cloneable, StructuredPojo
The term being translated by the custom terminology.
Constructor and Description |
---|
Term() |
Modifier and Type | Method and Description |
---|---|
Term |
clone() |
boolean |
equals(Object obj) |
String |
getSourceText()
The source text of the term being translated by the custom terminology.
|
String |
getTargetText()
The target text of the term being translated by the custom terminology.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSourceText(String sourceText)
The source text of the term being translated by the custom terminology.
|
void |
setTargetText(String targetText)
The target text of the term being translated by the custom terminology.
|
String |
toString()
Returns a string representation of this object.
|
Term |
withSourceText(String sourceText)
The source text of the term being translated by the custom terminology.
|
Term |
withTargetText(String targetText)
The target text of the term being translated by the custom terminology.
|
public void setSourceText(String sourceText)
The source text of the term being translated by the custom terminology.
sourceText
- The source text of the term being translated by the custom terminology.public String getSourceText()
The source text of the term being translated by the custom terminology.
public Term withSourceText(String sourceText)
The source text of the term being translated by the custom terminology.
sourceText
- The source text of the term being translated by the custom terminology.public void setTargetText(String targetText)
The target text of the term being translated by the custom terminology.
targetText
- The target text of the term being translated by the custom terminology.public String getTargetText()
The target text of the term being translated by the custom terminology.
public Term withTargetText(String targetText)
The target text of the term being translated by the custom terminology.
targetText
- The target text of the term being translated by the custom terminology.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.