public static final class SetOwnersRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
SetOwnersRequest |
build() |
SetOwnersRequest.Builder |
ownerIds(String ownerIds)
The ID of the user whom you want to specify as an owner.
|
SetOwnersRequest.Builder |
ownerType(String ownerType)
The type of the owner.
|
SetOwnersRequest.Builder |
regionId(String regionId)
RegionId.
|
SetOwnersRequest.Builder |
resourceId(String resourceId)
The ID of the resource.
|
SetOwnersRequest.Builder |
tid(Long tid)
The ID of the tenant.
|
public SetOwnersRequest.Builder regionId(String regionId)
public SetOwnersRequest.Builder ownerIds(String ownerIds)
> The value of the OwnerIds parameter is that of the UserId parameter.
public SetOwnersRequest.Builder ownerType(String ownerType)
* INSTANCE: an owner of an instance. * DATABASE: an owner of a physical database. * LOGIC_DATABASE: an owner of a logical database. * TABLE: an owner of a physical table. * LOGIC_TABLE: an owner of a logical table.
public SetOwnersRequest.Builder resourceId(String resourceId)
* INSTANCE: the ID of an instance. You can call the [ListInstances](~~141936~~) operation to query the ID of the instance. * DATABASE: the ID of a physical database. You can call the [ListDatabases](~~141873~~) operation to query the ID of the physical database. * LOGIC_DATABASE: the ID of a logical database. You can call the [ListLogicDatabases](~~141874~~) operation to query the ID of the logical database. * TABLE: the ID of a physical table. You can call the [ListTables](~~141878~~) operation to query the ID of the physical table. * LOGIC_DATABASE: the ID of a logical table. You can call the [ListLogicTables](~~141875~~) operation to query the ID of the logical table.
public SetOwnersRequest.Builder tid(Long tid)
> 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](~~181330~~) topic.
public SetOwnersRequest build()
Copyright © 2023. All rights reserved.