toJson method
Implementation
Map<String, dynamic> toJson() {
final instanceRole = this.instanceRole;
final placementStrategy = this.placementStrategy;
return {
'InstanceRole': instanceRole.toValue(),
if (placementStrategy != null)
'PlacementStrategy': placementStrategy.toValue(),
};
}