/** * <p> * Contains the details of the features enabled on the table when the backup was created. For example, LSIs, GSIs, * streams, TTL. * </p> * * @param sourceTableFeatureDetails * Contains the details of the features enabled on the table when the backup was created. For example, LSIs, * GSIs, streams, TTL. * @return Returns a reference to this object so that method calls can be chained together. */ public BackupDescription withSourceTableFeatureDetails(SourceTableFeatureDetails sourceTableFeatureDetails) { setSourceTableFeatureDetails(sourceTableFeatureDetails); return this; }
backupDescription.setSourceTableFeatureDetails(SourceTableFeatureDetailsJsonUnmarshaller.getInstance().unmarshall(context));
/** * <p> * Contains the details of the features enabled on the table when the backup was created. For example, LSIs, GSIs, * streams, TTL. * </p> * * @param sourceTableFeatureDetails * Contains the details of the features enabled on the table when the backup was created. For example, LSIs, * GSIs, streams, TTL. * @return Returns a reference to this object so that method calls can be chained together. */ public BackupDescription withSourceTableFeatureDetails(SourceTableFeatureDetails sourceTableFeatureDetails) { setSourceTableFeatureDetails(sourceTableFeatureDetails); 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.setSourceTableFeatureDetails(SourceTableFeatureDetailsJsonUnmarshaller.getInstance().unmarshall(context));