public class ModifyInstancesProjectRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstancesProjectRequest() |
Modifier and Type | Method and Description |
---|---|
String[] |
getInstanceIds()
Get Instance IDs.
|
Long |
getProjectId()
Get Project ID.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance IDs.
|
void |
setProjectId(Long ProjectId)
Set Project ID.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance IDs. To obtain the instance IDs, you can call [`DescribeInstances`](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) and look for `InstanceId` in the response. You can operate up to 100 instances in each request.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID. You can create a project by using the [AddProject](https://intl.cloud.tencent.com/doc/api/403/4398?from_cn_redirect=1) API and obtain its ID from the response parameter `projectId` of the [`DescribeProject`](https://intl.cloud.tencent.com/document/product/378/4400?from_cn_redirect=1) API. Subsequently, the project ID can be used to filter results when you query instances by calling the [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) API.Copyright © 2020. All rights reserved.