toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ScopeType.instanceId:
      return 'INSTANCE_ID';
    case ScopeType.rulesPackageArn:
      return 'RULES_PACKAGE_ARN';
  }
}