@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Language extends Object implements Serializable, Cloneable, StructuredPojo
A supported language.
Constructor and Description |
---|
Language() |
Modifier and Type | Method and Description |
---|---|
Language |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageCode()
Language code for the supported language.
|
String |
getLanguageName()
Language name of the supported language.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLanguageCode(String languageCode)
Language code for the supported language.
|
void |
setLanguageName(String languageName)
Language name of the supported language.
|
String |
toString()
Returns a string representation of this object.
|
Language |
withLanguageCode(String languageCode)
Language code for the supported language.
|
Language |
withLanguageName(String languageName)
Language name of the supported language.
|
public void setLanguageName(String languageName)
Language name of the supported language.
languageName
- Language name of the supported language.public String getLanguageName()
Language name of the supported language.
public Language withLanguageName(String languageName)
Language name of the supported language.
languageName
- Language name of the supported language.public void setLanguageCode(String languageCode)
Language code for the supported language.
languageCode
- Language code for the supported language.public String getLanguageCode()
Language code for the supported language.
public Language withLanguageCode(String languageCode)
Language code for the supported language.
languageCode
- Language code for the supported language.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.