toValue method
Implementation
String toValue() {
switch (this) {
case ProtectedResourceType.cloudfrontDistribution:
return 'CLOUDFRONT_DISTRIBUTION';
case ProtectedResourceType.route_53HostedZone:
return 'ROUTE_53_HOSTED_ZONE';
case ProtectedResourceType.elasticIpAllocation:
return 'ELASTIC_IP_ALLOCATION';
case ProtectedResourceType.classicLoadBalancer:
return 'CLASSIC_LOAD_BALANCER';
case ProtectedResourceType.applicationLoadBalancer:
return 'APPLICATION_LOAD_BALANCER';
case ProtectedResourceType.globalAccelerator:
return 'GLOBAL_ACCELERATOR';
}
}