public static interface ExportImageRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ExportImageRequest.Builder,ExportImageRequest>
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 bytes.
description - A description of the image being exported. The maximum length is 255 bytes.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 imageId(String imageId)
The ID of the image.
imageId - The ID of the image.ExportImageRequest.Builder s3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
Information about the destination S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com.
s3ExportLocation - Information about the destination S3 bucket. The bucket must exist and grant WRITE and READ_ACP
permissions to the AWS account vm-import-export@amazon.com.default ExportImageRequest.Builder s3ExportLocation(Consumer<ExportTaskS3LocationRequest.Builder> s3ExportLocation)
Information about the destination S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the AWS account vm-import-export@amazon.com.
This is a convenience 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 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 S3 bucket. If
this parameter is not specified, the default role is named 'vmimport'.ExportImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderExportImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2019. All rights reserved.