toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final newReplicaCount = this.newReplicaCount;
  final nodeGroupId = this.nodeGroupId;
  final preferredAvailabilityZones = this.preferredAvailabilityZones;
  final preferredOutpostArns = this.preferredOutpostArns;
  return {
    'NewReplicaCount': newReplicaCount,
    'NodeGroupId': nodeGroupId,
    if (preferredAvailabilityZones != null)
      'PreferredAvailabilityZones': preferredAvailabilityZones,
    if (preferredOutpostArns != null)
      'PreferredOutpostArns': preferredOutpostArns,
  };
}