toJson method
Implementation
Map<String, dynamic> toJson() {
final regionName = this.regionName;
final replicaGlobalSecondaryIndexSettingsUpdate =
this.replicaGlobalSecondaryIndexSettingsUpdate;
final replicaProvisionedReadCapacityAutoScalingSettingsUpdate =
this.replicaProvisionedReadCapacityAutoScalingSettingsUpdate;
final replicaProvisionedReadCapacityUnits =
this.replicaProvisionedReadCapacityUnits;
return {
'RegionName': regionName,
if (replicaGlobalSecondaryIndexSettingsUpdate != null)
'ReplicaGlobalSecondaryIndexSettingsUpdate':
replicaGlobalSecondaryIndexSettingsUpdate,
if (replicaProvisionedReadCapacityAutoScalingSettingsUpdate != null)
'ReplicaProvisionedReadCapacityAutoScalingSettingsUpdate':
replicaProvisionedReadCapacityAutoScalingSettingsUpdate,
if (replicaProvisionedReadCapacityUnits != null)
'ReplicaProvisionedReadCapacityUnits':
replicaProvisionedReadCapacityUnits,
};
}