public static final class AddAccountRelationRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddAccountRelationRequest |
build() |
AddAccountRelationRequest.Builder |
childNick(String childNick)
The display name of the member.
|
AddAccountRelationRequest.Builder |
childUserId(Long childUserId)
The ID of the Alibaba Cloud account that is used as the member.
|
AddAccountRelationRequest.Builder |
parentUserId(Long parentUserId)
The ID of the Alibaba Cloud account that is used as the management account.
|
AddAccountRelationRequest.Builder |
permissionCodes(List<String> permissionCodes)
The permissions that can be granted to the member.
|
AddAccountRelationRequest.Builder |
relationType(String relationType)
The type of the financial relationship.
|
AddAccountRelationRequest.Builder |
requestId(String requestId)
The unique ID of the request.
|
AddAccountRelationRequest.Builder |
roleCodes(List<String> roleCodes)
The roles that can be assigned to the member.
|
public AddAccountRelationRequest.Builder childNick(String childNick)
The display name of the member. This helps clarify the scenario in which the account is used.
example:xxx project
public AddAccountRelationRequest.Builder childUserId(Long childUserId)
The ID of the Alibaba Cloud account that is used as the member.
This parameter is required.
example:1512996702208737
public AddAccountRelationRequest.Builder parentUserId(Long parentUserId)
The ID of the Alibaba Cloud account that is used as the management account.
This parameter is required.
example:1738376485192612
public AddAccountRelationRequest.Builder permissionCodes(List<String> permissionCodes)
The permissions that can be granted to the member. Valid values:
The params[PermissionCodes, RoleCodes] can not be null at the same time.
example:CHECK_TARGET_CONSUMPTION
public AddAccountRelationRequest.Builder relationType(String relationType)
The type of the financial relationship. Set the value to enterprise_group.
This parameter is required.
example:enterprise_group
public AddAccountRelationRequest.Builder requestId(String requestId)
The unique ID of the request. The ID is used to mark a request and troubleshoot a problem.
This parameter is required.
example:32324242444
public AddAccountRelationRequest.Builder roleCodes(List<String> roleCodes)
The roles that can be assigned to the member. Set the value to trusteeship.
example:trusteeship
public AddAccountRelationRequest build()
Copyright © 2026. All rights reserved.