Interface CreateIamPolicyAssignmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateIamPolicyAssignmentRequest.Builder,
,CreateIamPolicyAssignmentRequest> QuickSightRequest.Builder
,SdkBuilder<CreateIamPolicyAssignmentRequest.Builder,
,CreateIamPolicyAssignmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateIamPolicyAssignmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionassignmentName
(String assignmentName) The name of the assignment, also called a rule.assignmentStatus
(String assignmentStatus) The status of the assignment.assignmentStatus
(AssignmentStatus assignmentStatus) The status of the assignment.awsAccountId
(String awsAccountId) The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.identities
(Map<String, ? extends Collection<String>> identities) The Amazon QuickSight users, groups, or both that you want to assign the policy to.The namespace that contains the assignment.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
- Parameters:
awsAccountId
- The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentName
The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services account.
- Parameters:
assignmentName
- The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentStatus
The status of the assignment. Possible values are as follows:
-
ENABLED
- Anything specified in this assignment is used when creating the data source. -
DISABLED
- This assignment isn't used when creating the data source. -
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
- Parameters:
assignmentStatus
- The status of the assignment. Possible values are as follows:-
ENABLED
- Anything specified in this assignment is used when creating the data source. -
DISABLED
- This assignment isn't used when creating the data source. -
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
assignmentStatus
The status of the assignment. Possible values are as follows:
-
ENABLED
- Anything specified in this assignment is used when creating the data source. -
DISABLED
- This assignment isn't used when creating the data source. -
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
- Parameters:
assignmentStatus
- The status of the assignment. Possible values are as follows:-
ENABLED
- Anything specified in this assignment is used when creating the data source. -
DISABLED
- This assignment isn't used when creating the data source. -
DRAFT
- This assignment is an unfinished draft and isn't used when creating the data source.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
policyArn
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
- Parameters:
policyArn
- The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identities
CreateIamPolicyAssignmentRequest.Builder identities(Map<String, ? extends Collection<String>> identities) The Amazon QuickSight users, groups, or both that you want to assign the policy to.
- Parameters:
identities
- The Amazon QuickSight users, groups, or both that you want to assign the policy to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespace
The namespace that contains the assignment.
- Parameters:
namespace
- The namespace that contains the assignment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateIamPolicyAssignmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateIamPolicyAssignmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-