toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LoadBalancerTlsCertificateRevocationReason.unspecified:
      return 'UNSPECIFIED';
    case LoadBalancerTlsCertificateRevocationReason.keyCompromise:
      return 'KEY_COMPROMISE';
    case LoadBalancerTlsCertificateRevocationReason.caCompromise:
      return 'CA_COMPROMISE';
    case LoadBalancerTlsCertificateRevocationReason.affiliationChanged:
      return 'AFFILIATION_CHANGED';
    case LoadBalancerTlsCertificateRevocationReason.superceded:
      return 'SUPERCEDED';
    case LoadBalancerTlsCertificateRevocationReason.cessationOfOperation:
      return 'CESSATION_OF_OPERATION';
    case LoadBalancerTlsCertificateRevocationReason.certificateHold:
      return 'CERTIFICATE_HOLD';
    case LoadBalancerTlsCertificateRevocationReason.removeFromCrl:
      return 'REMOVE_FROM_CRL';
    case LoadBalancerTlsCertificateRevocationReason.privilegeWithdrawn:
      return 'PRIVILEGE_WITHDRAWN';
    case LoadBalancerTlsCertificateRevocationReason.aACompromise:
      return 'A_A_COMPROMISE';
  }
}