toLoadBalancerTlsCertificateStatus method
Implementation
LoadBalancerTlsCertificateStatus toLoadBalancerTlsCertificateStatus() {
switch (this) {
case 'PENDING_VALIDATION':
return LoadBalancerTlsCertificateStatus.pendingValidation;
case 'ISSUED':
return LoadBalancerTlsCertificateStatus.issued;
case 'INACTIVE':
return LoadBalancerTlsCertificateStatus.inactive;
case 'EXPIRED':
return LoadBalancerTlsCertificateStatus.expired;
case 'VALIDATION_TIMED_OUT':
return LoadBalancerTlsCertificateStatus.validationTimedOut;
case 'REVOKED':
return LoadBalancerTlsCertificateStatus.revoked;
case 'FAILED':
return LoadBalancerTlsCertificateStatus.failed;
case 'UNKNOWN':
return LoadBalancerTlsCertificateStatus.unknown;
}
throw Exception(
'$this is not known in enum LoadBalancerTlsCertificateStatus');
}