/** * <p> * The name of the Time to Live attribute for items in the table. * </p> * * @param attributeName * The name of the Time to Live attribute for items in the table. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeToLiveDescription withAttributeName(String attributeName) { setAttributeName(attributeName); return this; }
timeToLiveDescription.setAttributeName(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The name of the Time to Live attribute for items in the table. * </p> * * @param attributeName * The name of the Time to Live attribute for items in the table. * @return Returns a reference to this object so that method calls can be chained together. */ public TimeToLiveDescription withAttributeName(String attributeName) { setAttributeName(attributeName); return this; }
public TimeToLiveDescription unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } TimeToLiveDescription timeToLiveDescription = new TimeToLiveDescription(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("TimeToLiveStatus")) { timeToLiveDescription.setTimeToLiveStatus(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("AttributeName")) { timeToLiveDescription.setAttributeName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return timeToLiveDescription; }
timeToLiveDescription.setAttributeName(context.getUnmarshaller(String.class).unmarshall(context));