toJson method
Implementation
Map<String, dynamic> toJson() {
final desiredInstanceType = this.desiredInstanceType;
final desiredPartitionCount = this.desiredPartitionCount;
final desiredReplicationCount = this.desiredReplicationCount;
return {
if (desiredInstanceType != null)
'DesiredInstanceType': desiredInstanceType.toValue(),
if (desiredPartitionCount != null)
'DesiredPartitionCount': desiredPartitionCount,
if (desiredReplicationCount != null)
'DesiredReplicationCount': desiredReplicationCount,
};
}