/** * <p> * The date and time that the vocabulary was updated. * </p> * * @param lastModifiedTime * The date and time that the vocabulary was updated. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateVocabularyResult withLastModifiedTime(java.util.Date lastModifiedTime) { setLastModifiedTime(lastModifiedTime); return this; }
updateVocabularyResult.setLastModifiedTime(DateJsonUnmarshallerFactory.getInstance("unixTimestamp").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; }