public class Term
extends java.lang.Object
implements java.io.Serializable
The term being translated by the custom terminology.
Constructor and Description |
---|
Term() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSourceText()
The source text of the term being translated by the custom terminology.
|
java.lang.String |
getTargetText()
The target text of the term being translated by the custom terminology.
|
int |
hashCode() |
void |
setSourceText(java.lang.String sourceText)
The source text of the term being translated by the custom terminology.
|
void |
setTargetText(java.lang.String targetText)
The target text of the term being translated by the custom terminology.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Term |
withSourceText(java.lang.String sourceText)
The source text of the term being translated by the custom terminology.
|
Term |
withTargetText(java.lang.String targetText)
The target text of the term being translated by the custom terminology.
|
public java.lang.String getSourceText()
The source text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
The source text of the term being translated by the custom terminology.
public void setSourceText(java.lang.String sourceText)
The source text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
sourceText
- The source text of the term being translated by the custom terminology.
public Term withSourceText(java.lang.String sourceText)
The source text of the term being translated by the custom terminology.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
sourceText
- The source text of the term being translated by the custom terminology.
public java.lang.String getTargetText()
The target text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
The target text of the term being translated by the custom terminology.
public void setTargetText(java.lang.String targetText)
The target text of the term being translated by the custom terminology.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
targetText
- The target text of the term being translated by the custom terminology.
public Term withTargetText(java.lang.String targetText)
The target text of the term being translated by the custom terminology.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 10000
Pattern: [\P{M}\p{M}]{0,10000}
targetText
- The target text of the term being translated by the custom terminology.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.