Interface DeletePolicyAssignmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeletePolicyAssignmentRequest.Builder,,DeletePolicyAssignmentRequest> QuickSightRequest.Builder,SdkBuilder<DeletePolicyAssignmentRequest.Builder,,DeletePolicyAssignmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DeletePolicyAssignmentRequest
@Mutable
@NotThreadSafe
public static interface DeletePolicyAssignmentRequest.Builder
extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<DeletePolicyAssignmentRequest.Builder,DeletePolicyAssignmentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the Amazon Web Services account that contains the principal.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ARN of the policy to remove.principalArn(String principalArn) The ARN of the user, group, or account to remove the policy from.The revision of the assignment from your most recent read.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
accountId
The ID of the Amazon Web Services account that contains the principal.
- Parameters:
accountId- The ID of the Amazon Web Services account that contains the principal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policyArn
The ARN of the policy to remove. The operation removes the assignment only if the principal currently has this policy.
- Parameters:
policyArn- The ARN of the policy to remove. The operation removes the assignment only if the principal currently has this policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
principalArn
The ARN of the user, group, or account to remove the policy from.
- Parameters:
principalArn- The ARN of the user, group, or account to remove the policy from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revision
The revision of the assignment from your most recent read. If the assignment has changed since that revision, the request fails with a
ConflictException. If you don't specify a value, the operation doesn't check the revision.- Parameters:
revision- The revision of the assignment from your most recent read. If the assignment has changed since that revision, the request fails with aConflictException. If you don't specify a value, the operation doesn't check the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeletePolicyAssignmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeletePolicyAssignmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-