/** * <p> * The Time to Live status for the table. * </p> * * @param timeToLiveStatus * The Time to Live status for the table. * @return Returns a reference to this object so that method calls can be chained together. * @see TimeToLiveStatus */ public TimeToLiveDescription withTimeToLiveStatus(String timeToLiveStatus) { setTimeToLiveStatus(timeToLiveStatus); return this; }
if (context.testExpression("TimeToLiveStatus", targetDepth)) { context.nextToken(); timeToLiveDescription.setTimeToLiveStatus(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The Time to Live status for the table. * </p> * * @param timeToLiveStatus * The Time to Live status for the table. * @return Returns a reference to this object so that method calls can be chained together. * @see TimeToLiveStatus */ public TimeToLiveDescription withTimeToLiveStatus(String timeToLiveStatus) { setTimeToLiveStatus(timeToLiveStatus); 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; }
if (context.testExpression("TimeToLiveStatus", targetDepth)) { context.nextToken(); timeToLiveDescription.setTimeToLiveStatus(context.getUnmarshaller(String.class).unmarshall(context));