public class ChangeResourceGroupRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
clientToken
The client token that is used to ensure the idempotence of the request.
|
String |
newResourceGroupId
The ID of the new resource group.
|
String |
regionId
The ID of the region where the GA instance is deployed.
|
String |
resourceId
The ID of the GA resource.
|
String |
resourceType
The type of the GA resource.
|
| 构造器和说明 |
|---|
ChangeResourceGroupRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ChangeResourceGroupRequest |
build(Map<String,?> map) |
String |
getClientToken() |
String |
getNewResourceGroupId() |
String |
getRegionId() |
String |
getResourceId() |
String |
getResourceType() |
ChangeResourceGroupRequest |
setClientToken(String clientToken) |
ChangeResourceGroupRequest |
setNewResourceGroupId(String newResourceGroupId) |
ChangeResourceGroupRequest |
setRegionId(String regionId) |
ChangeResourceGroupRequest |
setResourceId(String resourceId) |
ChangeResourceGroupRequest |
setResourceType(String resourceType) |
@NameInMap(value="ClientToken") public String clientToken
The client token that is used to ensure the idempotence of the request.
You can use the client to generate a value, but you must make sure that the value is unique among different requests. The client token can contain only ASCII characters.****
> If you do not set this parameter, **ClientToken** is set to the value of **RequestId**. The value of **RequestId** for each API request may be different.
@NameInMap(value="NewResourceGroupId") public String newResourceGroupId
The ID of the new resource group.
@NameInMap(value="RegionId") public String regionId
The ID of the region where the GA instance is deployed. Set the value to **cn-hangzhou**.
@NameInMap(value="ResourceId") public String resourceId
The ID of the GA resource.
* If **ResourceType** is set to **accelerator**, set the value of ResourceId to the ID of a standard GA instance.
* If **ResourceType** is set to **basicaccelerator**, set the value of ResourceId to the ID of a basic GA instance.
* If **ResourceType** is set to**bandwidthpackage**, set the value of ResourceId to the ID of a bandwidth plan.
* If **ResourceType** is set to **acl**, set the value of ResourceId to the ID of a network ACL.
@NameInMap(value="ResourceType") public String resourceType
The type of the GA resource. Valid values:
* **accelerator**: a standard GA instance.
* **basicaccelerator**: a basic GA instance.
* **bandwidthpackage**: a bandwidth plan.
* **acl**: a network ACL.
public static ChangeResourceGroupRequest build(Map<String,?> map) throws Exception
Exceptionpublic ChangeResourceGroupRequest setClientToken(String clientToken)
public String getClientToken()
public ChangeResourceGroupRequest setNewResourceGroupId(String newResourceGroupId)
public String getNewResourceGroupId()
public ChangeResourceGroupRequest setRegionId(String regionId)
public String getRegionId()
public ChangeResourceGroupRequest setResourceId(String resourceId)
public String getResourceId()
public ChangeResourceGroupRequest setResourceType(String resourceType)
public String getResourceType()
Copyright © 2023. All rights reserved.