Interface ResourceScope.Builder

  • Method Details

    • resourceType

      ResourceScope.Builder resourceType(String resourceType)

      Resource type name (e.g., "DataSet", "OmniDashboard").

      Parameters:
      resourceType - Resource type name (e.g., "DataSet", "OmniDashboard").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArns

      ResourceScope.Builder resourceArns(Collection<String> resourceArns)

      Specific resource ARNs or ARN patterns. When set, actions are limited to these resources. When absent, defaults to "*".

      Parameters:
      resourceArns - Specific resource ARNs or ARN patterns. When set, actions are limited to these resources. When absent, defaults to "*".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArns

      ResourceScope.Builder resourceArns(String... resourceArns)

      Specific resource ARNs or ARN patterns. When set, actions are limited to these resources. When absent, defaults to "*".

      Parameters:
      resourceArns - Specific resource ARNs or ARN patterns. When set, actions are limited to these resources. When absent, defaults to "*".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      Tag-based conditions for dynamic resource scoping. Access applies only to resources carrying all of the specified tag key/value pairs.

      Parameters:
      tags - Tag-based conditions for dynamic resource scoping. Access applies only to resources carrying all of the specified tag key/value pairs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signalTypesWithStrings

      ResourceScope.Builder signalTypesWithStrings(Collection<String> signalTypes)

      Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.

      Parameters:
      signalTypes - Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signalTypesWithStrings

      ResourceScope.Builder signalTypesWithStrings(String... signalTypes)

      Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.

      Parameters:
      signalTypes - Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signalTypes

      ResourceScope.Builder signalTypes(Collection<SignalType> signalTypes)

      Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.

      Parameters:
      signalTypes - Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • signalTypes

      ResourceScope.Builder signalTypes(SignalType... signalTypes)

      Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.

      Parameters:
      signalTypes - Signal types this scope's row filtering applies to. Required when rowScopeGroups is set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rowScopeGroups

      ResourceScope.Builder rowScopeGroups(Collection<? extends Collection<RowScope>> rowScopeGroups)

      Row-level filters for this scope, as an OR of AND-groups: a row is visible when it matches every filter in any one group. Requires signalTypes.

      Row filters are additive across a principal's matching grants. A signal type with no matching group is unrestricted, and when rowScopeGroups is omitted all rows are visible for all signal types.

      Parameters:
      rowScopeGroups - Row-level filters for this scope, as an OR of AND-groups: a row is visible when it matches every filter in any one group. Requires signalTypes.

      Row filters are additive across a principal's matching grants. A signal type with no matching group is unrestricted, and when rowScopeGroups is omitted all rows are visible for all signal types.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rowScopeGroups

      ResourceScope.Builder rowScopeGroups(Collection<RowScope>... rowScopeGroups)

      Row-level filters for this scope, as an OR of AND-groups: a row is visible when it matches every filter in any one group. Requires signalTypes.

      Row filters are additive across a principal's matching grants. A signal type with no matching group is unrestricted, and when rowScopeGroups is omitted all rows are visible for all signal types.

      Parameters:
      rowScopeGroups - Row-level filters for this scope, as an OR of AND-groups: a row is visible when it matches every filter in any one group. Requires signalTypes.

      Row filters are additive across a principal's matching grants. A signal type with no matching group is unrestricted, and when rowScopeGroups is omitted all rows are visible for all signal types.

      Returns:
      Returns a reference to this object so that method calls can be chained together.