toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final notebookOutputOption = this.notebookOutputOption;
  final s3KmsKeyId = this.s3KmsKeyId;
  final s3OutputPath = this.s3OutputPath;
  return {
    if (notebookOutputOption != null)
      'NotebookOutputOption': notebookOutputOption.toValue(),
    if (s3KmsKeyId != null) 'S3KmsKeyId': s3KmsKeyId,
    if (s3OutputPath != null) 'S3OutputPath': s3OutputPath,
  };
}