@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListLanguagesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListLanguagesResult() |
Modifier and Type | Method and Description |
---|---|
ListLanguagesResult |
clone() |
boolean |
equals(Object obj) |
String |
getDisplayLanguageCode()
The language code passed in with the request.
|
List<Language> |
getLanguages()
The list of supported languages.
|
String |
getNextToken()
If the response does not include all remaining results, use the NextToken in the next request to fetch the next
group of supported languages.
|
int |
hashCode() |
void |
setDisplayLanguageCode(String displayLanguageCode)
The language code passed in with the request.
|
void |
setLanguages(Collection<Language> languages)
The list of supported languages.
|
void |
setNextToken(String nextToken)
If the response does not include all remaining results, use the NextToken in the next request to fetch the next
group of supported languages.
|
String |
toString()
Returns a string representation of this object.
|
ListLanguagesResult |
withDisplayLanguageCode(DisplayLanguageCode displayLanguageCode)
The language code passed in with the request.
|
ListLanguagesResult |
withDisplayLanguageCode(String displayLanguageCode)
The language code passed in with the request.
|
ListLanguagesResult |
withLanguages(Collection<Language> languages)
The list of supported languages.
|
ListLanguagesResult |
withLanguages(Language... languages)
The list of supported languages.
|
ListLanguagesResult |
withNextToken(String nextToken)
If the response does not include all remaining results, use the NextToken in the next request to fetch the next
group of supported languages.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Language> getLanguages()
The list of supported languages.
public void setLanguages(Collection<Language> languages)
The list of supported languages.
languages
- The list of supported languages.public ListLanguagesResult withLanguages(Language... languages)
The list of supported languages.
NOTE: This method appends the values to the existing list (if any). Use
setLanguages(java.util.Collection)
or withLanguages(java.util.Collection)
if you want to
override the existing values.
languages
- The list of supported languages.public ListLanguagesResult withLanguages(Collection<Language> languages)
The list of supported languages.
languages
- The list of supported languages.public void setDisplayLanguageCode(String displayLanguageCode)
The language code passed in with the request.
displayLanguageCode
- The language code passed in with the request.DisplayLanguageCode
public String getDisplayLanguageCode()
The language code passed in with the request.
DisplayLanguageCode
public ListLanguagesResult withDisplayLanguageCode(String displayLanguageCode)
The language code passed in with the request.
displayLanguageCode
- The language code passed in with the request.DisplayLanguageCode
public ListLanguagesResult withDisplayLanguageCode(DisplayLanguageCode displayLanguageCode)
The language code passed in with the request.
displayLanguageCode
- The language code passed in with the request.DisplayLanguageCode
public void setNextToken(String nextToken)
If the response does not include all remaining results, use the NextToken in the next request to fetch the next group of supported languages.
nextToken
- If the response does not include all remaining results, use the NextToken in the next request to fetch the
next group of supported languages.public String getNextToken()
If the response does not include all remaining results, use the NextToken in the next request to fetch the next group of supported languages.
public ListLanguagesResult withNextToken(String nextToken)
If the response does not include all remaining results, use the NextToken in the next request to fetch the next group of supported languages.
nextToken
- If the response does not include all remaining results, use the NextToken in the next request to fetch the
next group of supported languages.public String toString()
toString
in class Object
Object.toString()
public ListLanguagesResult clone()