public class SetOwnersRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
ownerIds
The ID of the user whom you want to specify as an owner.
|
String |
ownerType
The type of the owner.
|
String |
resourceId
The ID of the resource.
|
Long |
tid
The ID of the tenant.
|
| 构造器和说明 |
|---|
SetOwnersRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static SetOwnersRequest |
build(Map<String,?> map) |
String |
getOwnerIds() |
String |
getOwnerType() |
String |
getResourceId() |
Long |
getTid() |
SetOwnersRequest |
setOwnerIds(String ownerIds) |
SetOwnersRequest |
setOwnerType(String ownerType) |
SetOwnersRequest |
setResourceId(String resourceId) |
SetOwnersRequest |
setTid(Long tid) |
@NameInMap(value="OwnerIds") public String ownerIds
@NameInMap(value="OwnerType") public String ownerType
The type of the owner. Valid values:
This parameter is required.
example:INSTANCE
@NameInMap(value="ResourceId") public String resourceId
The ID of the resource. The ID of the resource varies with the owner type. The owner types and resource IDs have the following mappings:
This parameter is required.
example:174****
@NameInMap(value="Tid") public Long tid
The ID of the tenant.
example:To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the Manage DMS tenants topic.
3***
public static SetOwnersRequest build(Map<String,?> map) throws Exception
Exceptionpublic SetOwnersRequest setOwnerIds(String ownerIds)
public String getOwnerIds()
public SetOwnersRequest setOwnerType(String ownerType)
public String getOwnerType()
public SetOwnersRequest setResourceId(String resourceId)
public String getResourceId()
public SetOwnersRequest setTid(Long tid)
public Long getTid()
Copyright © 2025. All rights reserved.