public class CreateBlueprintRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateBlueprintRequest() |
CreateBlueprintRequest(CreateBlueprintRequest 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 |
getBlueprintName()
Get Image name, which can contain up to 60 characters.
|
String |
getDescription()
Get Image description, which can contain up to 60 characters.
|
Boolean |
getForcePowerOff()
Get Whether to forcibly shut down the instance before creating the image
Valid values:
`True`: Shut down and instance first
`False`: Create the image when the instance is running
Default: `True`
Note that if you create an image when the instance is running, there might be data loss.
|
String |
getInstanceId()
Get ID of the instance for which to make an image.
|
void |
setBlueprintName(String BlueprintName)
Set Image name, which can contain up to 60 characters.
|
void |
setDescription(String Description)
Set Image description, which can contain up to 60 characters.
|
void |
setForcePowerOff(Boolean ForcePowerOff)
Set Whether to forcibly shut down the instance before creating the image
Valid values:
`True`: Shut down and instance first
`False`: Create the image when the instance is running
Default: `True`
Note that if you create an image when the instance is running, there might be data loss.
|
void |
setInstanceId(String InstanceId)
Set ID of the instance for which to make an image.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateBlueprintRequest()
public CreateBlueprintRequest(CreateBlueprintRequest source)
public String getBlueprintName()
public void setBlueprintName(String BlueprintName)
BlueprintName
- Image name, which can contain up to 60 characters.public String getDescription()
public void setDescription(String Description)
Description
- Image description, which can contain up to 60 characters.public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the instance for which to make an image.public Boolean getForcePowerOff()
public void setForcePowerOff(Boolean ForcePowerOff)
ForcePowerOff
- Whether to forcibly shut down the instance before creating the image
Valid values:
`True`: Shut down and instance first
`False`: Create the image when the instance is running
Default: `True`
Note that if you create an image when the instance is running, there might be data loss.Copyright © 2024. All rights reserved.