public static interface DetachUserPolicyRequest.Builder extends IAMRequest.Builder, CopyableBuilder<DetachUserPolicyRequest.Builder,DetachUserPolicyRequest>
Modifier and Type | Method and Description |
---|---|
DetachUserPolicyRequest.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy you want to detach.
|
DetachUserPolicyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DetachUserPolicyRequest.Builder |
userName(String userName)
The name (friendly name, not ARN) of the IAM user to detach the policy from.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
DetachUserPolicyRequest.Builder userName(String userName)
The name (friendly name, not ARN) of the IAM user to detach the policy from.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
userName
- The name (friendly name, not ARN) of the IAM user to detach the policy from.
This parameter allows (per its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
DetachUserPolicyRequest.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy you want to detach.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
policyArn
- The Amazon Resource Name (ARN) of the IAM policy you want to detach.
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces in the AWS General Reference.
DetachUserPolicyRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.