public static interface ExportImageResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ExportImageResponse.Builder,ExportImageResponse>
Modifier and Type | Method and Description |
---|---|
ExportImageResponse.Builder |
description(String description)
A description of the image being exported.
|
ExportImageResponse.Builder |
diskImageFormat(DiskImageFormat diskImageFormat)
The disk image format for the exported image.
|
ExportImageResponse.Builder |
diskImageFormat(String diskImageFormat)
The disk image format for the exported image.
|
ExportImageResponse.Builder |
exportImageTaskId(String exportImageTaskId)
The ID of the export image task.
|
ExportImageResponse.Builder |
imageId(String imageId)
The ID of the image.
|
ExportImageResponse.Builder |
progress(String progress)
The percent complete of the export image task.
|
ExportImageResponse.Builder |
roleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
|
default ExportImageResponse.Builder |
s3ExportLocation(Consumer<ExportTaskS3Location.Builder> s3ExportLocation)
Information about the destination S3 bucket.
|
ExportImageResponse.Builder |
s3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination S3 bucket.
|
ExportImageResponse.Builder |
status(String status)
The status of the export image task.
|
ExportImageResponse.Builder |
statusMessage(String statusMessage)
The status message for the export image task.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
ExportImageResponse.Builder description(String description)
A description of the image being exported.
description
- A description of the image being exported.ExportImageResponse.Builder diskImageFormat(String diskImageFormat)
The disk image format for the exported image.
diskImageFormat
- The disk image format for the exported image.DiskImageFormat
,
DiskImageFormat
ExportImageResponse.Builder diskImageFormat(DiskImageFormat diskImageFormat)
The disk image format for the exported image.
diskImageFormat
- The disk image format for the exported image.DiskImageFormat
,
DiskImageFormat
ExportImageResponse.Builder exportImageTaskId(String exportImageTaskId)
The ID of the export image task.
exportImageTaskId
- The ID of the export image task.ExportImageResponse.Builder imageId(String imageId)
The ID of the image.
imageId
- The ID of the image.ExportImageResponse.Builder roleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your S3 bucket.
roleName
- The name of the role that grants VM Import/Export permission to export images to your S3 bucket.ExportImageResponse.Builder progress(String progress)
The percent complete of the export image task.
progress
- The percent complete of the export image task.ExportImageResponse.Builder s3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination S3 bucket.
s3ExportLocation
- Information about the destination S3 bucket.default ExportImageResponse.Builder s3ExportLocation(Consumer<ExportTaskS3Location.Builder> s3ExportLocation)
Information about the destination S3 bucket.
This is a convenience that creates an instance of theExportTaskS3Location.Builder
avoiding the need
to create one manually via ExportTaskS3Location.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to s3ExportLocation(ExportTaskS3Location)
.s3ExportLocation
- a consumer that will call methods on ExportTaskS3Location.Builder
s3ExportLocation(ExportTaskS3Location)
ExportImageResponse.Builder status(String status)
The status of the export image task. The possible values are active
, completed
,
deleting
, and deleted
.
status
- The status of the export image task. The possible values are active
,
completed
, deleting
, and deleted
.ExportImageResponse.Builder statusMessage(String statusMessage)
The status message for the export image task.
statusMessage
- The status message for the export image task.Copyright © 2020. All rights reserved.