toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PolicyScopeType.all:
      return 'All';
    case PolicyScopeType.aws:
      return 'AWS';
    case PolicyScopeType.local:
      return 'Local';
  }
}