Class VersionInfo

java.lang.Object
com.amazonaws.services.ecs.model.VersionInfo
All Implemented Interfaces:
Serializable, Cloneable

public class VersionInfo extends Object implements Serializable, Cloneable

The Docker and Amazon ECS container agent version information about a container instance.

See Also:
  • Constructor Details

    • VersionInfo

      public VersionInfo()
  • Method Details

    • setAgentVersion

      public void setAgentVersion(String agentVersion)

      The version number of the Amazon ECS container agent.

      Parameters:
      agentVersion - The version number of the Amazon ECS container agent.
    • getAgentVersion

      public String getAgentVersion()

      The version number of the Amazon ECS container agent.

      Returns:
      The version number of the Amazon ECS container agent.
    • withAgentVersion

      public VersionInfo withAgentVersion(String agentVersion)

      The version number of the Amazon ECS container agent.

      Parameters:
      agentVersion - The version number of the Amazon ECS container agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setAgentHash

      public void setAgentHash(String agentHash)

      The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.

      Parameters:
      agentHash - The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.
    • getAgentHash

      public String getAgentHash()

      The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.

      Returns:
      The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.
    • withAgentHash

      public VersionInfo withAgentHash(String agentHash)

      The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.

      Parameters:
      agentHash - The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDockerVersion

      public void setDockerVersion(String dockerVersion)

      The Docker version running on the container instance.

      Parameters:
      dockerVersion - The Docker version running on the container instance.
    • getDockerVersion

      public String getDockerVersion()

      The Docker version running on the container instance.

      Returns:
      The Docker version running on the container instance.
    • withDockerVersion

      public VersionInfo withDockerVersion(String dockerVersion)

      The Docker version running on the container instance.

      Parameters:
      dockerVersion - The Docker version running on the container instance.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public VersionInfo clone()
      Overrides:
      clone in class Object