public BackupDescription unmarshall(JsonUnmarshallerContext context) throws Exception { BackupDescription backupDescription = new BackupDescription();
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; }
public BackupDescription unmarshall(JsonUnmarshallerContext context) throws Exception { BackupDescription backupDescription = new BackupDescription();