Class SubmitContainerStateChangeRequest

    • Constructor Detail

      • SubmitContainerStateChangeRequest

        public SubmitContainerStateChangeRequest()
    • Method Detail

      • setCluster

        public void setCluster​(String cluster)

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

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

        public String getCluster()

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

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

        public SubmitContainerStateChangeRequest withCluster​(String cluster)

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

        Parameters:
        cluster - The short name or full Amazon Resource Name (ARN) of the cluster that hosts the container.
        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 Amazon Resource Name (ARN) of the task that hosts the container.

        Parameters:
        task - The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
      • getTask

        public String getTask()

        The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

        Returns:
        The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.
      • withTask

        public SubmitContainerStateChangeRequest withTask​(String task)

        The task ID or full Amazon Resource Name (ARN) of the task that hosts the container.

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

        public void setContainerName​(String containerName)

        The name of the container.

        Parameters:
        containerName - The name of the container.
      • getContainerName

        public String getContainerName()

        The name of the container.

        Returns:
        The name of the container.
      • withContainerName

        public SubmitContainerStateChangeRequest withContainerName​(String containerName)

        The name of the container.

        Parameters:
        containerName - The name of the container.
        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 SubmitContainerStateChangeRequest 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.
      • setExitCode

        public void setExitCode​(Integer exitCode)

        The exit code returned for the state change request.

        Parameters:
        exitCode - The exit code returned for the state change request.
      • getExitCode

        public Integer getExitCode()

        The exit code returned for the state change request.

        Returns:
        The exit code returned for the state change request.
      • withExitCode

        public SubmitContainerStateChangeRequest withExitCode​(Integer exitCode)

        The exit code returned for the state change request.

        Parameters:
        exitCode - The exit code returned for 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 SubmitContainerStateChangeRequest 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.
      • getNetworkBindings

        public List<NetworkBinding> getNetworkBindings()

        The network bindings of the container.

        Returns:
        The network bindings of the container.
      • setNetworkBindings

        public void setNetworkBindings​(Collection<NetworkBinding> networkBindings)

        The network bindings of the container.

        Parameters:
        networkBindings - The network bindings of the container.
      • withNetworkBindings

        public SubmitContainerStateChangeRequest withNetworkBindings​(Collection<NetworkBinding> networkBindings)

        The network bindings of the container.

        Parameters:
        networkBindings - The network bindings of the container.
        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