public static interface ImportVolumeRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ImportVolumeRequest.Builder,ImportVolumeRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildImportVolumeRequest.Builder availabilityZone(String availabilityZone)
The Availability Zone for the resulting EBS volume.
availabilityZone - The Availability Zone for the resulting EBS volume.ImportVolumeRequest.Builder description(String description)
A description of the volume.
description - A description of the volume.ImportVolumeRequest.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.ImportVolumeRequest.Builder image(DiskImageDetail image)
The disk image.
image - The disk image.default ImportVolumeRequest.Builder image(Consumer<DiskImageDetail.Builder> image)
The disk image.
This is a convenience method that creates an instance of theDiskImageDetail.Builder avoiding the
need to create one manually via DiskImageDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to image(DiskImageDetail).
image - a consumer that will call methods on DiskImageDetail.Builderimage(DiskImageDetail)ImportVolumeRequest.Builder volume(VolumeDetail volume)
The volume size.
volume - The volume size.default ImportVolumeRequest.Builder volume(Consumer<VolumeDetail.Builder> volume)
The volume size.
This is a convenience method that creates an instance of theVolumeDetail.Builder avoiding the need
to create one manually via VolumeDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to volume(VolumeDetail).
volume - a consumer that will call methods on VolumeDetail.Buildervolume(VolumeDetail)ImportVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderImportVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.