public static interface DetachRolePolicyRequest.Builder extends IamRequest.Builder, CopyableBuilder<DetachRolePolicyRequest.Builder,DetachRolePolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
DetachRolePolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DetachRolePolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
DetachRolePolicyRequest.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy you want to detach.
|
DetachRolePolicyRequest.Builder |
roleName(String roleName)
The name (friendly name, not ARN) of the IAM role to detach the policy from.
|
buildoverrideConfigurationcopyapplyMutation, buildDetachRolePolicyRequest.Builder roleName(String roleName)
The name (friendly name, not ARN) of the IAM role 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: _+=,.@-
roleName - The name (friendly name, not ARN) of the IAM role 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: _+=,.@-
DetachRolePolicyRequest.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.
DetachRolePolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.DetachRolePolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.