public class ModifyHostsAttributeRequest extends AbstractModel
Constructor and Description |
---|
ModifyHostsAttributeRequest() |
ModifyHostsAttributeRequest(ModifyHostsAttributeRequest 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[] |
getHostIds()
Get CDH instance ID(s).
|
String |
getHostName()
Get CDH instance name to be displayed.
|
Long |
getProjectId()
Get Project ID.
|
String |
getRenewFlag()
Get Auto renewal flag.
|
void |
setHostIds(String[] HostIds)
Set CDH instance ID(s).
|
void |
setHostName(String HostName)
Set CDH instance name to be displayed.
|
void |
setProjectId(Long ProjectId)
Set Project ID.
|
void |
setRenewFlag(String RenewFlag)
Set Auto renewal flag.
|
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 ModifyHostsAttributeRequest()
public ModifyHostsAttributeRequest(ModifyHostsAttributeRequest source)
public String[] getHostIds()
public void setHostIds(String[] HostIds)
HostIds
- CDH instance ID(s).public String getHostName()
public void setHostName(String HostName)
HostName
- CDH instance name to be displayed. You can specify any name you like, but its length cannot exceed 60 characters.public String getRenewFlag()
public void setRenewFlag(String RenewFlag)
RenewFlag
- Auto renewal flag. Valid values: public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project ID. You can use the `AddProject` API to create projects, and obtain the `projectId` field in the response of the `DescribeProject` API. When using the [DescribeHosts](https://intl.cloud.tencent.com/document/api/213/16474?from_cn_redirect=1) API to query instances later, you can filter the results by the project ID.Copyright © 2023. All rights reserved.