public static interface ExportImageRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ExportImageRequest.Builder,ExportImageRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
ExportImageRequest.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
,
DiskImageFormat
ExportImageRequest.Builder diskImageFormat(DiskImageFormat diskImageFormat)
The disk image format.
diskImageFormat
- The disk image format.DiskImageFormat
,
DiskImageFormat
ExportImageRequest.Builder imageId(String imageId)
The ID of the image.
imageId
- The ID of the image.ExportImageRequest.Builder s3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
Information about the destination Amazon S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the AWS account [email protected].
s3ExportLocation
- Information about the destination Amazon S3 bucket. The bucket must exist and grant WRITE and READ_ACP
permissions to the AWS account [email protected].default ExportImageRequest.Builder s3ExportLocation(Consumer<ExportTaskS3LocationRequest.Builder> s3ExportLocation)
Information about the destination Amazon S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the AWS account [email protected].
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.Builder
s3ExportLocation(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 image being exported.
tagSpecifications
- The tags to apply to the image being exported.ExportImageRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the image being exported.
tagSpecifications
- The tags to apply to the image being exported.ExportImageRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the image being exported.
This is a convenience 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 #tagSpecifications(List)
.tagSpecifications
- a consumer that will call methods on List.Builder
#tagSpecifications(List)
ExportImageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
ExportImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.