toValue method
Implementation
String toValue() {
switch (this) {
case ProtectionGroupPattern.all:
return 'ALL';
case ProtectionGroupPattern.arbitrary:
return 'ARBITRARY';
case ProtectionGroupPattern.byResourceType:
return 'BY_RESOURCE_TYPE';
}
}