Class VersionInfo
- All Implemented Interfaces:
Serializable
,Cloneable
The Docker and Amazon ECS container agent version information about a container instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.The version number of the Amazon ECS container agent.The Docker version running on the container instance.int
hashCode()
void
setAgentHash
(String agentHash) The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.void
setAgentVersion
(String agentVersion) The version number of the Amazon ECS container agent.void
setDockerVersion
(String dockerVersion) The Docker version running on the container instance.toString()
Returns a string representation of this object; useful for testing and debugging.withAgentHash
(String agentHash) The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.withAgentVersion
(String agentVersion) The version number of the Amazon ECS container agent.withDockerVersion
(String dockerVersion) The Docker version running on the container instance.
-
Constructor Details
-
VersionInfo
public VersionInfo()
-
-
Method Details
-
setAgentVersion
The version number of the Amazon ECS container agent.
- Parameters:
agentVersion
- The version number of the Amazon ECS container agent.
-
getAgentVersion
The version number of the Amazon ECS container agent.
- Returns:
- The version number of the Amazon ECS container agent.
-
withAgentVersion
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
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
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
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
The Docker version running on the container instance.
- Parameters:
dockerVersion
- The Docker version running on the container instance.
-
getDockerVersion
The Docker version running on the container instance.
- Returns:
- The Docker version running on the container instance.
-
withDockerVersion
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-