Interface ResourcePermission.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResourcePermission.Builder,ResourcePermission>, SdkBuilder<ResourcePermission.Builder,ResourcePermission>, SdkPojo
Enclosing class:
ResourcePermission

public static interface ResourcePermission.Builder extends SdkPojo, CopyableBuilder<ResourcePermission.Builder,ResourcePermission>
  • Method Details

    • 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

      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.