toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3DataType = this.s3DataType;
  final s3Uri = this.s3Uri;
  final attributeNames = this.attributeNames;
  final s3DataDistributionType = this.s3DataDistributionType;
  return {
    'S3DataType': s3DataType.toValue(),
    'S3Uri': s3Uri,
    if (attributeNames != null) 'AttributeNames': attributeNames,
    if (s3DataDistributionType != null)
      'S3DataDistributionType': s3DataDistributionType.toValue(),
  };
}