public static interface ExportImageTask.Builder extends SdkPojo, CopyableBuilder<ExportImageTask.Builder,ExportImageTask>
Modifier and Type | Method and Description |
---|---|
ExportImageTask.Builder |
description(String description)
A description of the image being exported.
|
ExportImageTask.Builder |
exportImageTaskId(String exportImageTaskId)
The ID of the export image task.
|
ExportImageTask.Builder |
imageId(String imageId)
The ID of the image.
|
ExportImageTask.Builder |
progress(String progress)
The percent complete of the export image task.
|
default ExportImageTask.Builder |
s3ExportLocation(Consumer<ExportTaskS3Location.Builder> s3ExportLocation)
Information about the destination Amazon S3 bucket.
|
ExportImageTask.Builder |
s3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination Amazon S3 bucket.
|
ExportImageTask.Builder |
status(String status)
The status of the export image task.
|
ExportImageTask.Builder |
statusMessage(String statusMessage)
The status message for the export image task.
|
ExportImageTask.Builder |
tags(Collection<Tag> tags)
Any tags assigned to the export image task.
|
ExportImageTask.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the export image task.
|
ExportImageTask.Builder |
tags(Tag... tags)
Any tags assigned to the export image task.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
ExportImageTask.Builder description(String description)
A description of the image being exported.
description
- A description of the image being exported.ExportImageTask.Builder exportImageTaskId(String exportImageTaskId)
The ID of the export image task.
exportImageTaskId
- The ID of the export image task.ExportImageTask.Builder imageId(String imageId)
The ID of the image.
imageId
- The ID of the image.ExportImageTask.Builder progress(String progress)
The percent complete of the export image task.
progress
- The percent complete of the export image task.ExportImageTask.Builder s3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination Amazon S3 bucket.
s3ExportLocation
- Information about the destination Amazon S3 bucket.default ExportImageTask.Builder s3ExportLocation(Consumer<ExportTaskS3Location.Builder> s3ExportLocation)
Information about the destination Amazon S3 bucket.
This is a convenience method 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)
ExportImageTask.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
.ExportImageTask.Builder statusMessage(String statusMessage)
The status message for the export image task.
statusMessage
- The status message for the export image task.ExportImageTask.Builder tags(Collection<Tag> tags)
Any tags assigned to the export image task.
tags
- Any tags assigned to the export image task.ExportImageTask.Builder tags(Tag... tags)
Any tags assigned to the export image task.
tags
- Any tags assigned to the export image task.ExportImageTask.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the export image task.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2022. All rights reserved.