public static interface ExportImageRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ExportImageRequest.Builder,ExportImageRequest>
| Modifier and Type | Method and Description |
|---|---|
ExportImageRequest.Builder |
clientToken(String clientToken)
Token to enable idempotency for export image requests.
|
ExportImageRequest.Builder |
description(String description)
A description of the image being exported.
|
ExportImageRequest.Builder |
diskImageFormat(DiskImageFormat diskImageFormat)
The disk image format.
|
ExportImageRequest.Builder |
diskImageFormat(String diskImageFormat)
The disk image format.
|
ExportImageRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
ExportImageRequest.Builder |
imageId(String imageId)
The ID of the image.
|
ExportImageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
ExportImageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
ExportImageRequest.Builder |
roleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket.
|
default ExportImageRequest.Builder |
s3ExportLocation(Consumer<ExportTaskS3LocationRequest.Builder> s3ExportLocation)
The Amazon S3 bucket for the destination image.
|
ExportImageRequest.Builder |
s3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
The Amazon S3 bucket for the destination image.
|
ExportImageRequest.Builder |
tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the export image task during creation.
|
ExportImageRequest.Builder |
tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the export image task during creation.
|
ExportImageRequest.Builder |
tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the export image task during creation.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildExportImageRequest.Builder clientToken(String clientToken)
Token to enable idempotency for export image requests.
clientToken - Token to enable idempotency for export image requests.ExportImageRequest.Builder description(String description)
A description of the image being exported. The maximum length is 255 characters.
description - A description of the image being exported. The maximum length is 255 characters.ExportImageRequest.Builder diskImageFormat(String diskImageFormat)
The disk image format.
diskImageFormat - The disk image format.DiskImageFormat,
DiskImageFormatExportImageRequest.Builder diskImageFormat(DiskImageFormat diskImageFormat)
The disk image format.
diskImageFormat - The disk image format.DiskImageFormat,
DiskImageFormatExportImageRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.ExportImageRequest.Builder imageId(String imageId)
The ID of the image.
imageId - The ID of the image.ExportImageRequest.Builder s3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
The Amazon S3 bucket for the destination image. The destination bucket must exist.
s3ExportLocation - The Amazon S3 bucket for the destination image. The destination bucket must exist.default ExportImageRequest.Builder s3ExportLocation(Consumer<ExportTaskS3LocationRequest.Builder> s3ExportLocation)
The Amazon S3 bucket for the destination image. The destination bucket must exist.
This is a convenience method that creates an instance of theExportTaskS3LocationRequest.Builder
avoiding the need to create one manually via ExportTaskS3LocationRequest.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to s3ExportLocation(ExportTaskS3LocationRequest).
s3ExportLocation - a consumer that will call methods on ExportTaskS3LocationRequest.Builders3ExportLocation(ExportTaskS3LocationRequest)ExportImageRequest.Builder roleName(String roleName)
The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.
roleName - The name of the role that grants VM Import/Export permission to export images to your Amazon S3
bucket. If this parameter is not specified, the default role is named 'vmimport'.ExportImageRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the export image task during creation.
tagSpecifications - The tags to apply to the export image task during creation.ExportImageRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the export image task during creation.
tagSpecifications - The tags to apply to the export image task during creation.ExportImageRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the export image task during creation.
This is a convenience method that creates an instance of theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) ExportImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderExportImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.