toS3DataDistribution method

S3DataDistribution toS3DataDistribution()

Implementation

S3DataDistribution toS3DataDistribution() {
  switch (this) {
    case 'FullyReplicated':
      return S3DataDistribution.fullyReplicated;
    case 'ShardedByS3Key':
      return S3DataDistribution.shardedByS3Key;
  }
  throw Exception('$this is not known in enum S3DataDistribution');
}