public class CreateImageRequest extends AbstractModel
Constructor and Description |
---|
CreateImageRequest() |
Modifier and Type | Method and Description |
---|---|
String[] |
getDataDiskIds()
Get Specified data disk ID included in the full image created from the instance.
|
Boolean |
getDryRun()
Get Success status of this request, without affecting the resources involved
|
String |
getForcePoweroff()
Get Whether to force shut down an instance to create an image when a soft shutdown fails
|
String |
getImageDescription()
Get Image description
|
String |
getImageName()
Get Image name
|
String |
getInstanceId()
Get Instance ID used to create an image.
|
String[] |
getSnapshotIds()
Get Specified snapshot ID used to create an image.
|
String |
getSysprep()
Get Whether to enable Sysprep when creating a Windows image
|
void |
setDataDiskIds(String[] DataDiskIds)
Set Specified data disk ID included in the full image created from the instance.
|
void |
setDryRun(Boolean DryRun)
Set Success status of this request, without affecting the resources involved
|
void |
setForcePoweroff(String ForcePoweroff)
Set Whether to force shut down an instance to create an image when a soft shutdown fails
|
void |
setImageDescription(String ImageDescription)
Set Image description
|
void |
setImageName(String ImageName)
Set Image name
|
void |
setInstanceId(String InstanceId)
Set Instance ID used to create an image.
|
void |
setSnapshotIds(String[] SnapshotIds)
Set Specified snapshot ID used to create an image.
|
void |
setSysprep(String Sysprep)
Set Whether to enable Sysprep when creating a Windows image
|
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 getImageName()
public void setImageName(String ImageName)
ImageName
- Image namepublic String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID used to create an image.public String getImageDescription()
public void setImageDescription(String ImageDescription)
ImageDescription
- Image descriptionpublic String getForcePoweroff()
public void setForcePoweroff(String ForcePoweroff)
ForcePoweroff
- Whether to force shut down an instance to create an image when a soft shutdown failspublic String getSysprep()
public void setSysprep(String Sysprep)
Sysprep
- Whether to enable Sysprep when creating a Windows imagepublic String[] getDataDiskIds()
public void setDataDiskIds(String[] DataDiskIds)
DataDiskIds
- Specified data disk ID included in the full image created from the instance.public String[] getSnapshotIds()
public void setSnapshotIds(String[] SnapshotIds)
SnapshotIds
- Specified snapshot ID used to create an image. A system disk snapshot must be included. It cannot be passed together with `InstanceId`.public Boolean getDryRun()
public void setDryRun(Boolean DryRun)
DryRun
- Success status of this request, without affecting the resources involvedCopyright © 2020. All rights reserved.