Interface ScopedActions.Builder

  • Method Details

    • actions

      The actions this group applies to.

      Parameters:
      actions - The actions this group applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      ScopedActions.Builder actions(String... actions)

      The actions this group applies to.

      Parameters:
      actions - The actions this group applies to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      Optional resource scopes constraining these actions to specific resources.

      Parameters:
      resources - Optional resource scopes constraining these actions to specific resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      ScopedActions.Builder resources(ResourceScope... resources)

      Optional resource scopes constraining these actions to specific resources.

      Parameters:
      resources - Optional resource scopes constraining these actions to specific resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resources

      Optional resource scopes constraining these actions to specific resources.

      This is a convenience method that creates an instance of the ResourceScope.Builder avoiding the need to create one manually via ResourceScope.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resources(List<ResourceScope>).

      Parameters:
      resources - a consumer that will call methods on ResourceScope.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contextConditions

      ScopedActions.Builder contextConditions(Map<String,? extends Collection<String>> contextConditions)

      Optional context conditions for fine-grained access control on these actions.

      Parameters:
      contextConditions - Optional context conditions for fine-grained access control on these actions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.