Class VersionInfo

    • Constructor Detail

      • VersionInfo

        public VersionInfo()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object