Class CancelImportTaskRequest

    • Method Detail

      • cancelReason

        public final String cancelReason()

        The reason for canceling the task.

        Returns:
        The reason for canceling the task.
      • dryRun

        public final 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.

        Returns:
        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.
      • importTaskId

        public final String importTaskId()

        The ID of the import image or import snapshot task to be canceled.

        Returns:
        The ID of the import image or import snapshot task to be canceled.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object