Class StartTaskResult

    • Constructor Detail

      • StartTaskResult

        public StartTaskResult()
    • Method Detail

      • getTasks

        public List<Task> getTasks()

        A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.

        Returns:
        A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
      • setTasks

        public void setTasks​(Collection<Task> tasks)

        A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.

        Parameters:
        tasks - A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
      • withTasks

        public StartTaskResult withTasks​(Task... tasks)

        A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.

        NOTE: This method appends the values to the existing list (if any). Use setTasks(java.util.Collection) or withTasks(java.util.Collection) if you want to override the existing values.

        Parameters:
        tasks - A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withTasks

        public StartTaskResult withTasks​(Collection<Task> tasks)

        A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.

        Parameters:
        tasks - A full description of the tasks that were started. Each task that was successfully placed on your container instances are described here.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getFailures

        public List<Failure> getFailures()

        Any failures associated with the call.

        Returns:
        Any failures associated with the call.
      • setFailures

        public void setFailures​(Collection<Failure> failures)

        Any failures associated with the call.

        Parameters:
        failures - Any failures associated with the call.
      • withFailures

        public StartTaskResult withFailures​(Failure... failures)

        Any failures associated with the call.

        NOTE: This method appends the values to the existing list (if any). Use setFailures(java.util.Collection) or withFailures(java.util.Collection) if you want to override the existing values.

        Parameters:
        failures - Any failures associated with the call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withFailures

        public StartTaskResult withFailures​(Collection<Failure> failures)

        Any failures associated with the call.

        Parameters:
        failures - Any failures associated with the call.
        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