public class ModifyInstanceRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstanceRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getAutoRenew()
Get Auto-renewal flag.
|
String |
getInstanceId()
Get Instance ID
|
String |
getInstanceName()
Get New name of an instance
|
String |
getOperation()
Get Instance modification type.
|
Long |
getProjectId()
Get Project ID
|
void |
setAutoRenew(Long AutoRenew)
Set Auto-renewal flag.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setInstanceName(String InstanceName)
Set New name of an instance
|
void |
setOperation(String Operation)
Set Instance modification type.
|
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 getOperation()
public void setOperation(String Operation)
Operation
- Instance modification type. rename: rename an instance; modifyProject: modify the project of an instance; modifyAutoRenew: modify the auto-renewal flag of an instancepublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic String getInstanceName()
public void setInstanceName(String InstanceName)
InstanceName
- New name of an instancepublic Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project IDpublic Long getAutoRenew()
public void setAutoRenew(Long AutoRenew)
AutoRenew
- Auto-renewal flag. 0: default status (manual renewal); 1: auto-renewal enabled; 2: auto-renewal disabledCopyright © 2020. All rights reserved.