public class ModifyInstancesProjectRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstancesProjectRequest() |
ModifyInstancesProjectRequest(ModifyInstancesProjectRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
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 ModifyInstancesProjectRequest()
public ModifyInstancesProjectRequest(ModifyInstancesProjectRequest source)
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 use the API `AddProject` to create projects, and obtain the `projectId` field in the response of the `DescribeProject` API. When using the [DescribeInstances](https://intl.cloud.tencent.com/document/api/213/15728?from_cn_redirect=1) API to query instances later, you can filter the results by the project ID.Copyright © 2023. All rights reserved.