JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.ecs.model

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 is described.

        Returns:
        A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.
      • 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 is described.

        Parameters:
        tasks - A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.
      • 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 is described.

        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 is described.
        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 is described.

        Parameters:
        tasks - A full description of the tasks that were started. Each task that was successfully placed on your container instances is described.
        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. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /