toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LoadBalancerTlsCertificateStatus.pendingValidation:
      return 'PENDING_VALIDATION';
    case LoadBalancerTlsCertificateStatus.issued:
      return 'ISSUED';
    case LoadBalancerTlsCertificateStatus.inactive:
      return 'INACTIVE';
    case LoadBalancerTlsCertificateStatus.expired:
      return 'EXPIRED';
    case LoadBalancerTlsCertificateStatus.validationTimedOut:
      return 'VALIDATION_TIMED_OUT';
    case LoadBalancerTlsCertificateStatus.revoked:
      return 'REVOKED';
    case LoadBalancerTlsCertificateStatus.failed:
      return 'FAILED';
    case LoadBalancerTlsCertificateStatus.unknown:
      return 'UNKNOWN';
  }
}