Class CancelImportTaskRequest

    • Constructor Detail

      • CancelImportTaskRequest

        public CancelImportTaskRequest()
    • Method Detail

      • setImportTaskId

        public void setImportTaskId​(String importTaskId)

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

        Parameters:
        importTaskId - The ID of the import image or import snapshot task to be canceled.
      • getImportTaskId

        public String getImportTaskId()

        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.
      • withImportTaskId

        public CancelImportTaskRequest withImportTaskId​(String importTaskId)

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

        Parameters:
        importTaskId - The ID of the import image or import snapshot task to be canceled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCancelReason

        public void setCancelReason​(String cancelReason)

        The reason for canceling the task.

        Parameters:
        cancelReason - The reason for canceling the task.
      • getCancelReason

        public String getCancelReason()

        The reason for canceling the task.

        Returns:
        The reason for canceling the task.
      • withCancelReason

        public CancelImportTaskRequest withCancelReason​(String cancelReason)

        The reason for canceling the task.

        Parameters:
        cancelReason - The reason for canceling the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object