/** * <p> * Contains the details of the table when the backup was created. * </p> * * @param sourceTableDetails * Contains the details of the table when the backup was created. * @return Returns a reference to this object so that method calls can be chained together. */ public BackupDescription withSourceTableDetails(SourceTableDetails sourceTableDetails) { setSourceTableDetails(sourceTableDetails); return this; }
backupDescription.setSourceTableDetails(SourceTableDetailsJsonUnmarshaller.getInstance().unmarshall(context));
/** * <p> * Contains the details of the table when the backup was created. * </p> * * @param sourceTableDetails * Contains the details of the table when the backup was created. * @return Returns a reference to this object so that method calls can be chained together. */ public BackupDescription withSourceTableDetails(SourceTableDetails sourceTableDetails) { setSourceTableDetails(sourceTableDetails); return this; }
public BackupDescription unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } BackupDescription backupDescription = new BackupDescription(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("BackupDetails")) { backupDescription.setBackupDetails(BackupDetailsJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("SourceTableDetails")) { backupDescription.setSourceTableDetails(SourceTableDetailsJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("SourceTableFeatureDetails")) { backupDescription .setSourceTableFeatureDetails(SourceTableFeatureDetailsJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return backupDescription; }
backupDescription.setSourceTableDetails(SourceTableDetailsJsonUnmarshaller.getInstance().unmarshall(context));