toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case LoadBalancerTlsCertificateFailureReason.noAvailableContacts:
      return 'NO_AVAILABLE_CONTACTS';
    case LoadBalancerTlsCertificateFailureReason
        .additionalVerificationRequired:
      return 'ADDITIONAL_VERIFICATION_REQUIRED';
    case LoadBalancerTlsCertificateFailureReason.domainNotAllowed:
      return 'DOMAIN_NOT_ALLOWED';
    case LoadBalancerTlsCertificateFailureReason.invalidPublicDomain:
      return 'INVALID_PUBLIC_DOMAIN';
    case LoadBalancerTlsCertificateFailureReason.other:
      return 'OTHER';
  }
}