toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CertificateSource.cloudfront:
      return 'cloudfront';
    case CertificateSource.iam:
      return 'iam';
    case CertificateSource.acm:
      return 'acm';
  }
}