toLoadBalancerTlsCertificateFailureReason method
Implementation
LoadBalancerTlsCertificateFailureReason
toLoadBalancerTlsCertificateFailureReason() {
switch (this) {
case 'NO_AVAILABLE_CONTACTS':
return LoadBalancerTlsCertificateFailureReason.noAvailableContacts;
case 'ADDITIONAL_VERIFICATION_REQUIRED':
return LoadBalancerTlsCertificateFailureReason
.additionalVerificationRequired;
case 'DOMAIN_NOT_ALLOWED':
return LoadBalancerTlsCertificateFailureReason.domainNotAllowed;
case 'INVALID_PUBLIC_DOMAIN':
return LoadBalancerTlsCertificateFailureReason.invalidPublicDomain;
case 'OTHER':
return LoadBalancerTlsCertificateFailureReason.other;
}
throw Exception(
'$this is not known in enum LoadBalancerTlsCertificateFailureReason');
}