Class CancelImportTaskResult

    • Constructor Detail

      • CancelImportTaskResult

        public CancelImportTaskResult()
    • Method Detail

      • setImportTaskId

        public void setImportTaskId​(String importTaskId)

        The ID of the task being canceled.

        Parameters:
        importTaskId - The ID of the task being canceled.
      • getImportTaskId

        public String getImportTaskId()

        The ID of the task being canceled.

        Returns:
        The ID of the task being canceled.
      • withImportTaskId

        public CancelImportTaskResult withImportTaskId​(String importTaskId)

        The ID of the task being canceled.

        Parameters:
        importTaskId - The ID of the task being canceled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setState

        public void setState​(String state)

        The current state of the task being canceled.

        Parameters:
        state - The current state of the task being canceled.
      • getState

        public String getState()

        The current state of the task being canceled.

        Returns:
        The current state of the task being canceled.
      • withState

        public CancelImportTaskResult withState​(String state)

        The current state of the task being canceled.

        Parameters:
        state - The current state of the task being canceled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPreviousState

        public void setPreviousState​(String previousState)

        The current state of the task being canceled.

        Parameters:
        previousState - The current state of the task being canceled.
      • getPreviousState

        public String getPreviousState()

        The current state of the task being canceled.

        Returns:
        The current state of the task being canceled.
      • withPreviousState

        public CancelImportTaskResult withPreviousState​(String previousState)

        The current state of the task being canceled.

        Parameters:
        previousState - The current state of the task being canceled.
        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