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 the token, but you must make sure that the token is unique among different requests. The **client token** can contain only ASCII characters.
> If you do not specify this parameter, the system automatically uses the value of **RequestId** as the value of **ClientToken**. The **request ID** may be different for each request.
@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 you set **ResourceType** to **accelerator**, set the value of ResourceId to the ID of a standard GA instance.
* If you set **ResourceType** to **basicaccelerator**, set the value of ResourceId to the ID of a basic GA instance.
* If you set **ResourceType** to **bandwidthpackage**, set the value of ResourceId to the ID of a bandwidth plan.
* If you set **ResourceType** to **acl**, set the value of ResourceId to the ID of an access control list (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:** an ACL.
public static ChangeResourceGroupRequest build(Map<String,?> map) throws Exception
Exception
public 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 © 2024. All rights reserved.