public class ExportImageRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
imageFormat
The format in which you want to export the custom image.
|
String |
imageId
The custom image ID.
|
String |
OSSBucket
The OSS bucket in which you want to store the exported custom image.
|
String |
OSSPrefix
The prefix for the name of the OSS object.
|
Long |
ownerId |
String |
regionId
The region ID of the custom image.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
roleName
The name of the RAM role that you want 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 you want to export the custom image. Valid values:
Default value: raw.
example:raw
@NameInMap(value="ImageId") public String imageId
The custom image ID.
This parameter is required.
example:m-bp67acfmxazb4p****
@NameInMap(value="OSSBucket") public String OSSBucket
The OSS bucket in which you want to store the exported custom image.
This parameter is required.
example:testexportImage
@NameInMap(value="OSSPrefix") public String OSSPrefix
The prefix for the name of the OSS object. The prefix must be 1 to 30 characters in length and can contain digits and letters.
example:EcsExport
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The region ID of the custom image. You can call the DescribeRegions operation to query the most recent region list.
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="RoleName") public String roleName
The name of the RAM role that you want to use to export the custom image.
example:AliyunECSImageExportDefaultRole
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 © 2024. All rights reserved.