/** * <p> * The description of the point in time recovery settings applied to the table. * </p> * * @param pointInTimeRecoveryDescription * The description of the point in time recovery settings applied to the table. * @return Returns a reference to this object so that method calls can be chained together. */ public ContinuousBackupsDescription withPointInTimeRecoveryDescription(PointInTimeRecoveryDescription pointInTimeRecoveryDescription) { setPointInTimeRecoveryDescription(pointInTimeRecoveryDescription); return this; }
continuousBackupsDescription.setPointInTimeRecoveryDescription(PointInTimeRecoveryDescriptionJsonUnmarshaller.getInstance().unmarshall( context));
/** * <p> * The description of the point in time recovery settings applied to the table. * </p> * * @param pointInTimeRecoveryDescription * The description of the point in time recovery settings applied to the table. * @return Returns a reference to this object so that method calls can be chained together. */ public ContinuousBackupsDescription withPointInTimeRecoveryDescription(PointInTimeRecoveryDescription pointInTimeRecoveryDescription) { setPointInTimeRecoveryDescription(pointInTimeRecoveryDescription); return this; }
public ContinuousBackupsDescription unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } ContinuousBackupsDescription continuousBackupsDescription = new ContinuousBackupsDescription(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("ContinuousBackupsStatus")) { continuousBackupsDescription.setContinuousBackupsStatus(StringJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("PointInTimeRecoveryDescription")) { continuousBackupsDescription .setPointInTimeRecoveryDescription(PointInTimeRecoveryDescriptionJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return continuousBackupsDescription; }
continuousBackupsDescription.setPointInTimeRecoveryDescription(PointInTimeRecoveryDescriptionJsonUnmarshaller.getInstance().unmarshall( context));