toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3OutputPath = this.s3OutputPath;
  final profilingIntervalInMilliseconds =
      this.profilingIntervalInMilliseconds;
  final profilingParameters = this.profilingParameters;
  return {
    'S3OutputPath': s3OutputPath,
    if (profilingIntervalInMilliseconds != null)
      'ProfilingIntervalInMilliseconds': profilingIntervalInMilliseconds,
    if (profilingParameters != null)
      'ProfilingParameters': profilingParameters,
  };
}