public class ChangeResourceGroupRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
regionId
The ID of the region in which the instance resides.
|
String |
resourceGroupId
The ID of the resource group to which the instance is changed.
|
String |
resourceId
The ID of the resource.
|
String |
resourceType
The type of resource.
|
| 构造器和说明 |
|---|
ChangeResourceGroupRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ChangeResourceGroupRequest |
build(Map<String,?> map) |
String |
getRegionId() |
String |
getResourceGroupId() |
String |
getResourceId() |
String |
getResourceType() |
ChangeResourceGroupRequest |
setRegionId(String regionId) |
ChangeResourceGroupRequest |
setResourceGroupId(String resourceGroupId) |
ChangeResourceGroupRequest |
setResourceId(String resourceId) |
ChangeResourceGroupRequest |
setResourceType(String resourceType) |
@NameInMap(value="regionId") public String regionId
The ID of the region in which the instance resides.
This parameter is required.
@NameInMap(value="resourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance is changed.
You can call the [ListResourceGroups](https://www.alibabacloud.com/help/resource-management/latest/listresourcegroups) operation to query existing resource groups.
This parameter is required.
@NameInMap(value="resourceId") public String resourceId
The ID of the resource. Set this parameter to the ID of the ApsaraMQ for RocketMQ instance whose resource group you want to change.
This parameter is required.
@NameInMap(value="resourceType") public String resourceType
The type of resource.
Set this parameter to **instance**. The value of this parameter cannot be changed.
This parameter is required.
public static ChangeResourceGroupRequest build(Map<String,?> map) throws Exception
Exceptionpublic ChangeResourceGroupRequest setRegionId(String regionId)
public String getRegionId()
public ChangeResourceGroupRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public ChangeResourceGroupRequest setResourceId(String resourceId)
public String getResourceId()
public ChangeResourceGroupRequest setResourceType(String resourceType)
public String getResourceType()
Copyright © 2024. All rights reserved.