public static interface CancelImportTaskRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CancelImportTaskRequest.Builder,CancelImportTaskRequest>
| Modifier and Type | Method and Description |
|---|---|
CancelImportTaskRequest.Builder |
cancelReason(String cancelReason)
The reason for canceling the task.
|
CancelImportTaskRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
CancelImportTaskRequest.Builder |
importTaskId(String importTaskId)
The ID of the import image or import snapshot task to be canceled.
|
CancelImportTaskRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CancelImportTaskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCancelImportTaskRequest.Builder cancelReason(String cancelReason)
The reason for canceling the task.
cancelReason - The reason for canceling the task.CancelImportTaskRequest.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.CancelImportTaskRequest.Builder importTaskId(String importTaskId)
The ID of the import image or import snapshot task to be canceled.
importTaskId - The ID of the import image or import snapshot task to be canceled.CancelImportTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCancelImportTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.