@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SupportedLanguage extends Object implements Serializable, Cloneable, StructuredPojo
A JSON-formatted object that contains the available ISO 639-1 language code
, language
name
and langauge display
value. The language code is what should be used in the CreateCase call.
Constructor and Description |
---|
SupportedLanguage() |
Modifier and Type | Method and Description |
---|---|
SupportedLanguage |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
2 digit ISO 639-1 code.
|
String |
getDisplay()
Language display value e.g.
|
String |
getLanguage()
Full language description e.g.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCode(String code)
2 digit ISO 639-1 code.
|
void |
setDisplay(String display)
Language display value e.g.
|
void |
setLanguage(String language)
Full language description e.g.
|
String |
toString()
Returns a string representation of this object.
|
SupportedLanguage |
withCode(String code)
2 digit ISO 639-1 code.
|
SupportedLanguage |
withDisplay(String display)
Language display value e.g.
|
SupportedLanguage |
withLanguage(String language)
Full language description e.g.
|
public void setCode(String code)
2 digit ISO 639-1 code. e.g. en
code
- 2 digit ISO 639-1 code. e.g. en
public String getCode()
2 digit ISO 639-1 code. e.g. en
en
public SupportedLanguage withCode(String code)
2 digit ISO 639-1 code. e.g. en
code
- 2 digit ISO 639-1 code. e.g. en
public void setLanguage(String language)
Full language description e.g. ENGLISH
language
- Full language description e.g. ENGLISH
public String getLanguage()
Full language description e.g. ENGLISH
ENGLISH
public SupportedLanguage withLanguage(String language)
Full language description e.g. ENGLISH
language
- Full language description e.g. ENGLISH
public void setDisplay(String display)
Language display value e.g. ENGLISH
display
- Language display value e.g. ENGLISH
public String getDisplay()
Language display value e.g. ENGLISH
ENGLISH
public SupportedLanguage withDisplay(String display)
Language display value e.g. ENGLISH
display
- Language display value e.g. ENGLISH
public String toString()
toString
in class Object
Object.toString()
public SupportedLanguage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.