Interface ResourcePermission.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ResourcePermission.Builder,ResourcePermission>,SdkBuilder<ResourcePermission.Builder,ResourcePermission>,SdkPojo
- Enclosing class:
- ResourcePermission
@Mutable @NotThreadSafe public static interface ResourcePermission.Builder extends SdkPojo, CopyableBuilder<ResourcePermission.Builder,ResourcePermission>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResourcePermission.Builderactions(String... actions)The IAM action to grant or revoke permissions on.ResourcePermission.Builderactions(Collection<String> actions)The IAM action to grant or revoke permissions on.ResourcePermission.Builderprincipal(String principal)The Amazon Resource Name (ARN) of the principal.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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.
-
-