public class ExportImageRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
imageFormat
The format in which to export the custom image.
|
String |
imageId
The ID of the custom image.
|
String |
OSSBucket
The OSS bucket to which to export the custom image.
|
String |
OSSPrefix
The prefix of the object as which to store the custom image in the OSS bucket.
|
Long |
ownerId |
String |
regionId
The region ID of the custom image.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
roleName
The name of the RAM role to use to export the custom image.
|
构造器和说明 |
---|
ExportImageRequest() |
限定符和类型 | 方法和说明 |
---|---|
static ExportImageRequest |
build(Map<String,?> map) |
String |
getImageFormat() |
String |
getImageId() |
String |
getOSSBucket() |
String |
getOSSPrefix() |
Long |
getOwnerId() |
String |
getRegionId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
String |
getRoleName() |
ExportImageRequest |
setImageFormat(String imageFormat) |
ExportImageRequest |
setImageId(String imageId) |
ExportImageRequest |
setOSSBucket(String OSSBucket) |
ExportImageRequest |
setOSSPrefix(String OSSPrefix) |
ExportImageRequest |
setOwnerId(Long ownerId) |
ExportImageRequest |
setRegionId(String regionId) |
ExportImageRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
ExportImageRequest |
setResourceOwnerId(Long resourceOwnerId) |
ExportImageRequest |
setRoleName(String roleName) |
@NameInMap(value="ImageFormat") public String imageFormat
The format in which to export the custom image. Valid values:
* raw
* vhd
* qcow2
* vmdk
* vdi
Default value: raw.
@NameInMap(value="ImageId") public String imageId
The ID of the custom image.
@NameInMap(value="OSSBucket") public String OSSBucket
The OSS bucket to which to export the custom image.
@NameInMap(value="OSSPrefix") public String OSSPrefix
The prefix of the object as which to store the custom image in the OSS bucket. The prefix must be 1 to 30 characters in length and can contain digits and letters.
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the custom image. You can call the [DescribeRegions](~~25609~~) operation to query the most recent region list.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RoleName") public String roleName
The name of the RAM role to use to export the custom image.
public static ExportImageRequest build(Map<String,?> map) throws Exception
Exception
public ExportImageRequest setImageFormat(String imageFormat)
public String getImageFormat()
public ExportImageRequest setImageId(String imageId)
public String getImageId()
public ExportImageRequest setOSSBucket(String OSSBucket)
public String getOSSBucket()
public ExportImageRequest setOSSPrefix(String OSSPrefix)
public String getOSSPrefix()
public ExportImageRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public ExportImageRequest setRegionId(String regionId)
public String getRegionId()
public ExportImageRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public ExportImageRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public ExportImageRequest setRoleName(String roleName)
public String getRoleName()
Copyright © 2023. All rights reserved.