/** * <p> * The language code of the vocabulary entries. * </p> * * @param languageCode * The language code of the vocabulary entries. * @return Returns a reference to this object so that method calls can be chained together. * @see LanguageCode */ public UpdateVocabularyResult withLanguageCode(String languageCode) { setLanguageCode(languageCode); return this; }
updateVocabularyResult.setLanguageCode(context.getUnmarshaller(String.class).unmarshall(context));
public UpdateVocabularyResult unmarshall(JsonUnmarshallerContext context) throws Exception { UpdateVocabularyResult updateVocabularyResult = new UpdateVocabularyResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("VocabularyName")) { updateVocabularyResult.setVocabularyName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("LanguageCode")) { updateVocabularyResult.setLanguageCode(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("LastModifiedTime")) { updateVocabularyResult.setLastModifiedTime(DateJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("VocabularyState")) { updateVocabularyResult.setVocabularyState(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return updateVocabularyResult; }