Interface CreateIamPolicyAssignmentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateIamPolicyAssignmentRequest.Builder,CreateIamPolicyAssignmentRequest>,QuickSightRequest.Builder,SdkBuilder<CreateIamPolicyAssignmentRequest.Builder,CreateIamPolicyAssignmentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateIamPolicyAssignmentRequest
@Mutable @NotThreadSafe public static interface CreateIamPolicyAssignmentRequest.Builder extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<CreateIamPolicyAssignmentRequest.Builder,CreateIamPolicyAssignmentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateIamPolicyAssignmentRequest.BuilderassignmentName(String assignmentName)The name of the assignment, also called a rule.CreateIamPolicyAssignmentRequest.BuilderassignmentStatus(String assignmentStatus)The status of the assignment.CreateIamPolicyAssignmentRequest.BuilderassignmentStatus(AssignmentStatus assignmentStatus)The status of the assignment.CreateIamPolicyAssignmentRequest.BuilderawsAccountId(String awsAccountId)The ID of the Amazon Web Services account where you want to assign an IAM policy to QuickSight users or groups.CreateIamPolicyAssignmentRequest.Builderidentities(Map<String,? extends Collection<String>> identities)The QuickSight users, groups, or both that you want to assign the policy to.CreateIamPolicyAssignmentRequest.Buildernamespace(String namespace)The namespace that contains the assignment.CreateIamPolicyAssignmentRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateIamPolicyAssignmentRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateIamPolicyAssignmentRequest.BuilderpolicyArn(String policyArn)The ARN for the IAM policy to apply to the 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
awsAccountId
CreateIamPolicyAssignmentRequest.Builder awsAccountId(String awsAccountId)
The ID of the Amazon Web Services account where you want to assign an IAM policy to QuickSight users or groups.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account where you want to assign an IAM policy to QuickSight users or groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assignmentName
CreateIamPolicyAssignmentRequest.Builder assignmentName(String 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
CreateIamPolicyAssignmentRequest.Builder assignmentStatus(String 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,AssignmentStatus
-
-
assignmentStatus
CreateIamPolicyAssignmentRequest.Builder assignmentStatus(AssignmentStatus 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,AssignmentStatus
-
-
policyArn
CreateIamPolicyAssignmentRequest.Builder policyArn(String policyArn)
The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.
- Parameters:
policyArn- The ARN for the IAM policy to apply to the 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 QuickSight users, groups, or both that you want to assign the policy to.
- Parameters:
identities- The 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
CreateIamPolicyAssignmentRequest.Builder namespace(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateIamPolicyAssignmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-