/** * <p> * The name of the vocabulary that was updated. * </p> * * @param vocabularyName * The name of the vocabulary that was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVocabularyResult withVocabularyName(String vocabularyName) { setVocabularyName(vocabularyName); return this; }
if (context.testExpression("VocabularyName", targetDepth)) { context.nextToken(); updateVocabularyResult.setVocabularyName(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; }