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 |
imageId(String imageId)
The ID of the image.
|
ExportImageRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
ExportImageRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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)
Information about the destination Amazon S3 bucket.
|
ExportImageRequest.Builder |
s3ExportLocation(ExportTaskS3LocationRequest s3ExportLocation)
Information about the destination Amazon S3 bucket.
|
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.
|
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 vm-import-export@amazon.com.
s3ExportLocation
- Information about the destination Amazon 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 Amazon 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.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 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 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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.ExportImageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.