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 |
policyArn(String policyArn)
The Amazon Resource Name (ARN) of the IAM policy you want to attach.
|
AttachGroupPolicyRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
AttachGroupPolicyRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildAttachGroupPolicyRequest.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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.AttachGroupPolicyRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.