public static final class ModifyAccountRelationRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyAccountRelationRequest |
build() |
ModifyAccountRelationRequest.Builder |
childNick(String childNick)
The display name of the member.
|
ModifyAccountRelationRequest.Builder |
childUserId(Long childUserId)
The ID of the Alibaba Cloud account that is used as the member.
|
ModifyAccountRelationRequest.Builder |
parentUserId(Long parentUserId)
The ID of the Alibaba Cloud account that is used as the management account.
|
ModifyAccountRelationRequest.Builder |
permissionCodes(List<String> permissionCodes)
The permissions that can be modified.
|
ModifyAccountRelationRequest.Builder |
relationId(Long relationId)
The ID of the financial relationship.
|
ModifyAccountRelationRequest.Builder |
relationOperation(String relationOperation)
The operation to be performed.
|
ModifyAccountRelationRequest.Builder |
relationType(String relationType)
The type of the financial relationship.
|
ModifyAccountRelationRequest.Builder |
requestId(String requestId)
The unique ID of the request.
|
ModifyAccountRelationRequest.Builder |
roleCodes(List<String> roleCodes)
The roles that can be assigned to the member.
|
public ModifyAccountRelationRequest.Builder childNick(String childNick)
The display name of the member. This helps clarify the scenario in which the account is used.
example:Display name of the member
public ModifyAccountRelationRequest.Builder childUserId(Long childUserId)
The ID of the Alibaba Cloud account that is used as the member.
example:1512996702208737
public ModifyAccountRelationRequest.Builder parentUserId(Long parentUserId)
The ID of the Alibaba Cloud account that is used as the management account.
example:1738376485192612
public ModifyAccountRelationRequest.Builder permissionCodes(List<String> permissionCodes)
The permissions that can be modified. Valid values:
SYNCHRONIZE_FINANCE_IDENTITY
public ModifyAccountRelationRequest.Builder relationId(Long relationId)
The ID of the financial relationship. Set this parameter to the value of the relationId response parameter returned by calling the QueryRelationList operation.
example:51463
public ModifyAccountRelationRequest.Builder relationOperation(String relationOperation)
The operation to be performed. Valid values:
This parameter is required.
example:ADD
public ModifyAccountRelationRequest.Builder relationType(String relationType)
The type of the financial relationship. Set the value to enterprise_group.
example:enterprise_group
public ModifyAccountRelationRequest.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:request_id
public ModifyAccountRelationRequest.Builder roleCodes(List<String> roleCodes)
The roles that can be assigned to the member. You cannot modify the roles.
example:trusteeship
public ModifyAccountRelationRequest build()
Copyright © 2026. All rights reserved.