Interface ExportImageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ExportImageResponse.Builder,ExportImageResponse>
,Ec2Response.Builder
,SdkBuilder<ExportImageResponse.Builder,ExportImageResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ExportImageResponse
public static interface ExportImageResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ExportImageResponse.Builder,ExportImageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ExportImageResponse.Builder
description(String description)
A description of the image being exported.ExportImageResponse.Builder
diskImageFormat(String diskImageFormat)
The disk image format for the exported image.ExportImageResponse.Builder
diskImageFormat(DiskImageFormat 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 Amazon S3 bucket.default ExportImageResponse.Builder
s3ExportLocation(Consumer<ExportTaskS3Location.Builder> s3ExportLocation)
Information about the destination Amazon S3 bucket.ExportImageResponse.Builder
s3ExportLocation(ExportTaskS3Location s3ExportLocation)
Information about the destination Amazon 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.ExportImageResponse.Builder
tags(Collection<Tag> tags)
Any tags assigned to the export image task.ExportImageResponse.Builder
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the export image task.ExportImageResponse.Builder
tags(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.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
description
ExportImageResponse.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.
-
diskImageFormat
ExportImageResponse.Builder diskImageFormat(String diskImageFormat)
The disk image format for the exported image.
- Parameters:
diskImageFormat
- The disk image format for the exported image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DiskImageFormat
,DiskImageFormat
-
diskImageFormat
ExportImageResponse.Builder diskImageFormat(DiskImageFormat diskImageFormat)
The disk image format for the exported image.
- Parameters:
diskImageFormat
- The disk image format for the exported image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DiskImageFormat
,DiskImageFormat
-
exportImageTaskId
ExportImageResponse.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
ExportImageResponse.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.
-
roleName
ExportImageResponse.Builder roleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
- Parameters:
roleName
- The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progress
ExportImageResponse.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
ExportImageResponse.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 ExportImageResponse.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 viaExportTaskS3Location.builder()
.When the
Consumer
completes,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
ExportImageResponse.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
ExportImageResponse.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
ExportImageResponse.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
ExportImageResponse.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
ExportImageResponse.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.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,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
)
-
-