Interface ExportImageTask.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExportImageTask.Builder,ExportImageTask>,SdkBuilder<ExportImageTask.Builder,ExportImageTask>,SdkPojo
- Enclosing class:
- ExportImageTask
public static interface ExportImageTask.Builder extends SdkPojo, CopyableBuilder<ExportImageTask.Builder,ExportImageTask>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExportImageTask.Builderdescription(String description)A description of the image being exported.ExportImageTask.BuilderexportImageTaskId(String exportImageTaskId)The ID of the export image task.ExportImageTask.BuilderimageId(String imageId)The ID of the image.ExportImageTask.Builderprogress(String progress)The percent complete of the export image task.default ExportImageTask.Builders3ExportLocation(Consumer<ExportTaskS3Location.Builder> s3ExportLocation)Information about the destination Amazon S3 bucket.ExportImageTask.Builders3ExportLocation(ExportTaskS3Location s3ExportLocation)Information about the destination Amazon S3 bucket.ExportImageTask.Builderstatus(String status)The status of the export image task.ExportImageTask.BuilderstatusMessage(String statusMessage)The status message for the export image task.ExportImageTask.Buildertags(Collection<Tag> tags)Any tags assigned to the export image task.ExportImageTask.Buildertags(Consumer<Tag.Builder>... tags)Any tags assigned to the export image task.ExportImageTask.Buildertags(Tag... tags)Any tags assigned to the export image task.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
description
ExportImageTask.Builder description(String description)
A description of the image being exported.
- Parameters:
description- A description of the image being exported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportImageTaskId
ExportImageTask.Builder exportImageTaskId(String exportImageTaskId)
The ID of the export image task.
- Parameters:
exportImageTaskId- The ID of the export image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
imageId
ExportImageTask.Builder imageId(String imageId)
The ID of the image.
- Parameters:
imageId- The ID of the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progress
ExportImageTask.Builder progress(String progress)
The percent complete of the export image task.
- Parameters:
progress- The percent complete of the export image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ExportLocation
ExportImageTask.Builder s3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination Amazon S3 bucket.
- Parameters:
s3ExportLocation- Information about the destination Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3ExportLocation
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.Builderavoiding the need to create one manually viaExportTaskS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3ExportLocation(ExportTaskS3Location).- Parameters:
s3ExportLocation- a consumer that will call methods onExportTaskS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3ExportLocation(ExportTaskS3Location)
-
status
ExportImageTask.Builder status(String status)
The status of the export image task. The possible values are
active,completed,deleting, anddeleted.- Parameters:
status- The status of the export image task. The possible values areactive,completed,deleting, anddeleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusMessage
ExportImageTask.Builder statusMessage(String statusMessage)
The status message for the export image task.
- Parameters:
statusMessage- The status message for the export image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ExportImageTask.Builder tags(Collection<Tag> tags)
Any tags assigned to the export image task.
- Parameters:
tags- Any tags assigned to the export image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ExportImageTask.Builder tags(Tag... tags)
Any tags assigned to the export image task.
- Parameters:
tags- Any tags assigned to the export image task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
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 theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
-