public class MoveResourceGroupRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
newResourceGroupId
The ID of the new resource group.
|
String |
regionId
The region ID of the NLB instance.
|
String |
resourceId
The ID of the bastion host for which you want to change the resource group.
|
String |
resourceType
The type of the resource.
|
| 构造器和说明 |
|---|
MoveResourceGroupRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static MoveResourceGroupRequest |
build(Map<String,?> map) |
String |
getNewResourceGroupId() |
String |
getRegionId() |
String |
getResourceId() |
String |
getResourceType() |
MoveResourceGroupRequest |
setNewResourceGroupId(String newResourceGroupId) |
MoveResourceGroupRequest |
setRegionId(String regionId) |
MoveResourceGroupRequest |
setResourceId(String resourceId) |
MoveResourceGroupRequest |
setResourceType(String resourceType) |
@NameInMap(value="NewResourceGroupId") public String newResourceGroupId
The ID of the new resource group.
You can log on to the [Resource Management console](https://resourcemanager.console.aliyun.com/resource-groups) to view resource group IDs.
@NameInMap(value="RegionId") public String regionId
The region ID of the NLB instance.
You can call the [DescribeRegions](~~443657~~) operation to obtain the region ID.
@NameInMap(value="ResourceId") public String resourceId
The ID of the bastion host for which you want to change the resource group.
> You can call the [DescribeInstances](~~153281~~) operation to query the ID of the bastion host.
@NameInMap(value="ResourceType") public String resourceType
The type of the resource. Valid values:
* **loadbalancer**: a Network Load Balancer (NLB) instance
* **securitypolicy**: a security policy
* **servergroup**: a server group
public static MoveResourceGroupRequest build(Map<String,?> map) throws Exception
Exceptionpublic MoveResourceGroupRequest setNewResourceGroupId(String newResourceGroupId)
public String getNewResourceGroupId()
public MoveResourceGroupRequest setRegionId(String regionId)
public String getRegionId()
public MoveResourceGroupRequest setResourceId(String resourceId)
public String getResourceId()
public MoveResourceGroupRequest setResourceType(String resourceType)
public String getResourceType()
Copyright © 2023. All rights reserved.