public static final class AttachPolicyToGroupRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AttachPolicyToGroupRequest |
build() |
AttachPolicyToGroupRequest.Builder |
groupName(String groupName)
The name of the RAM user group.
|
AttachPolicyToGroupRequest.Builder |
policyName(String policyName)
The name of the policy.
|
AttachPolicyToGroupRequest.Builder |
policyType(String policyType)
The type of the policy.
|
public AttachPolicyToGroupRequest.Builder groupName(String groupName)
The name of the RAM user group.
example:dev
public AttachPolicyToGroupRequest.Builder policyName(String policyName)
The name of the policy.
example:OSS-Administrator
public AttachPolicyToGroupRequest.Builder policyType(String policyType)
The type of the policy. Valid values: System and Custom.
Custom
public AttachPolicyToGroupRequest build()
Copyright © 2025. All rights reserved.