public static interface AttachUserPolicyRequest.Builder extends IamRequest.Builder, SdkPojo, CopyableBuilder<AttachUserPolicyRequest.Builder,AttachUserPolicyRequest>
| Modifier and Type | Method and Description |
|---|---|
AttachUserPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
AttachUserPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
AttachUserPolicyRequest.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy you want to attach.
|
AttachUserPolicyRequest.Builder |
userName(String userName)
The name (friendly name, not ARN) of the IAM user to attach the policy to.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildAttachUserPolicyRequest.Builder userName(String userName)
The name (friendly name, not ARN) of the IAM user to attach the policy to.
This parameter allows (through 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 attach the policy to.
This parameter allows (through 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: _+=,.@-
AttachUserPolicyRequest.Builder policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy you want to attach.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
policyArn - The Amazon Resource Name (ARN) of the IAM policy you want to attach.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
AttachUserPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderAttachUserPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.