public static interface AttachGroupPolicyRequest.Builder extends IamRequest.Builder, CopyableBuilder<AttachGroupPolicyRequest.Builder,AttachGroupPolicyRequest>
Modifier and Type | Method and Description |
---|---|
AttachGroupPolicyRequest.Builder |
groupName(String groupName)
The name (friendly name, not ARN) of the group to attach the policy to.
|
AttachGroupPolicyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
AttachGroupPolicyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
AttachGroupPolicyRequest.Builder |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy you want to attach.
|
build
overrideConfiguration
copy
applyMutation, build
AttachGroupPolicyRequest.Builder groupName(String groupName)
The name (friendly name, not ARN) of the group to attach the policy to.
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: =,.@-
groupName
- The name (friendly name, not ARN) of the group to attach the policy to.
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: =,.@-
AttachGroupPolicyRequest.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) and AWS Service Namespaces in the AWS 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) and AWS Service Namespaces in the AWS General Reference.
AttachGroupPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AttachGroupPolicyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.