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 SubmitTaskStateChangeRequest

    • Constructor Detail

      • SubmitTaskStateChangeRequest

        public SubmitTaskStateChangeRequest()
    • Method Detail

      • setCluster

        public void setCluster(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

        Parameters:
        cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
      • getCluster

        public String getCluster()

        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

        Returns:
        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
      • withCluster

        public SubmitTaskStateChangeRequest withCluster(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.

        Parameters:
        cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTask

        public void setTask(String task)

        The task ID or full ARN of the task in the state change request.

        Parameters:
        task - The task ID or full ARN of the task in the state change request.
      • getTask

        public String getTask()

        The task ID or full ARN of the task in the state change request.

        Returns:
        The task ID or full ARN of the task in the state change request.
      • withTask

        public SubmitTaskStateChangeRequest withTask(String task)

        The task ID or full ARN of the task in the state change request.

        Parameters:
        task - The task ID or full ARN of the task in the state change request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus(String status)

        The status of the state change request.

        Parameters:
        status - The status of the state change request.
      • getStatus

        public String getStatus()

        The status of the state change request.

        Returns:
        The status of the state change request.
      • withStatus

        public SubmitTaskStateChangeRequest withStatus(String status)

        The status of the state change request.

        Parameters:
        status - The status of the state change request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReason

        public void setReason(String reason)

        The reason for the state change request.

        Parameters:
        reason - The reason for the state change request.
      • getReason

        public String getReason()

        The reason for the state change request.

        Returns:
        The reason for the state change request.
      • withReason

        public SubmitTaskStateChangeRequest withReason(String reason)

        The reason for the state change request.

        Parameters:
        reason - The reason for the state change request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getContainers

        public List<ContainerStateChange> getContainers()

        Any containers that's associated with the state change request.

        Returns:
        Any containers that's associated with the state change request.
      • setContainers

        public void setContainers(Collection<ContainerStateChange> containers)

        Any containers that's associated with the state change request.

        Parameters:
        containers - Any containers that's associated with the state change request.
      • withContainers

        public SubmitTaskStateChangeRequest withContainers(Collection<ContainerStateChange> containers)

        Any containers that's associated with the state change request.

        Parameters:
        containers - Any containers that's associated with the state change request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAttachments

        public List<AttachmentStateChange> getAttachments()

        Any attachments associated with the state change request.

        Returns:
        Any attachments associated with the state change request.
      • setAttachments

        public void setAttachments(Collection<AttachmentStateChange> attachments)

        Any attachments associated with the state change request.

        Parameters:
        attachments - Any attachments associated with the state change request.
      • withAttachments

        public SubmitTaskStateChangeRequest withAttachments(Collection<AttachmentStateChange> attachments)

        Any attachments associated with the state change request.

        Parameters:
        attachments - Any attachments associated with the state change request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getManagedAgents

        public List<ManagedAgentStateChange> getManagedAgents()

        The details for the managed agent that's associated with the task.

        Returns:
        The details for the managed agent that's associated with the task.
      • setManagedAgents

        public void setManagedAgents(Collection<ManagedAgentStateChange> managedAgents)

        The details for the managed agent that's associated with the task.

        Parameters:
        managedAgents - The details for the managed agent that's associated with the task.
      • withManagedAgents

        public SubmitTaskStateChangeRequest withManagedAgents(Collection<ManagedAgentStateChange> managedAgents)

        The details for the managed agent that's associated with the task.

        Parameters:
        managedAgents - The details for the managed agent that's associated with the task.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPullStartedAt

        public void setPullStartedAt(Date pullStartedAt)

        The Unix timestamp for the time when the container image pull started.

        Parameters:
        pullStartedAt - The Unix timestamp for the time when the container image pull started.
      • getPullStartedAt

        public Date getPullStartedAt()

        The Unix timestamp for the time when the container image pull started.

        Returns:
        The Unix timestamp for the time when the container image pull started.
      • withPullStartedAt

        public SubmitTaskStateChangeRequest withPullStartedAt(Date pullStartedAt)

        The Unix timestamp for the time when the container image pull started.

        Parameters:
        pullStartedAt - The Unix timestamp for the time when the container image pull started.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPullStoppedAt

        public void setPullStoppedAt(Date pullStoppedAt)

        The Unix timestamp for the time when the container image pull completed.

        Parameters:
        pullStoppedAt - The Unix timestamp for the time when the container image pull completed.
      • getPullStoppedAt

        public Date getPullStoppedAt()

        The Unix timestamp for the time when the container image pull completed.

        Returns:
        The Unix timestamp for the time when the container image pull completed.
      • withPullStoppedAt

        public SubmitTaskStateChangeRequest withPullStoppedAt(Date pullStoppedAt)

        The Unix timestamp for the time when the container image pull completed.

        Parameters:
        pullStoppedAt - The Unix timestamp for the time when the container image pull completed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExecutionStoppedAt

        public void setExecutionStoppedAt(Date executionStoppedAt)

        The Unix timestamp for the time when the task execution stopped.

        Parameters:
        executionStoppedAt - The Unix timestamp for the time when the task execution stopped.
      • getExecutionStoppedAt

        public Date getExecutionStoppedAt()

        The Unix timestamp for the time when the task execution stopped.

        Returns:
        The Unix timestamp for the time when the task execution stopped.
      • withExecutionStoppedAt

        public SubmitTaskStateChangeRequest withExecutionStoppedAt(Date executionStoppedAt)

        The Unix timestamp for the time when the task execution stopped.

        Parameters:
        executionStoppedAt - The Unix timestamp for the time when the task execution stopped.
        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 によって変換されたページ (->オリジナル) /