Interface ResourcePermission.Builder

    • Method Detail

      • principal

        ResourcePermission.Builder principal​(String principal)

        The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

        • The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

        • The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)

        Parameters:
        principal - The Amazon Resource Name (ARN) of the principal. This can be one of the following:

        • The ARN of an Amazon QuickSight user or group associated with a data source or dataset. (This is common.)

        • The ARN of an Amazon QuickSight user, group, or namespace associated with an analysis, dashboard, template, or theme. (This is common.)

        • The ARN of an Amazon Web Services account root: This is an IAM ARN rather than a QuickSight ARN. Use this option only to share resources (templates) across Amazon Web Services accounts. (This is less common.)

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

        ResourcePermission.Builder actions​(Collection<String> actions)

        The IAM action to grant or revoke permissions on.

        Parameters:
        actions - The IAM action to grant or revoke permissions on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actions

        ResourcePermission.Builder actions​(String... actions)

        The IAM action to grant or revoke permissions on.

        Parameters:
        actions - The IAM action to grant or revoke permissions on.
        Returns:
        Returns a reference to this object so that method calls can be chained together.