public class VersionInfo
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The Docker and Amazon ECS container agent version information about a container instance.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
agentHash
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-
agent GitHub repository.
|
private java.lang.String |
agentVersion
The version number of the Amazon ECS container agent.
|
private java.lang.String |
dockerVersion
The Docker version running on the container instance.
|
Constructor and Description |
---|
VersionInfo() |
Modifier and Type | Method and Description |
---|---|
VersionInfo |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAgentHash()
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-
agent GitHub repository.
|
java.lang.String |
getAgentVersion()
The version number of the Amazon ECS container agent.
|
java.lang.String |
getDockerVersion()
The Docker version running on the container instance.
|
int |
hashCode() |
void |
setAgentHash(java.lang.String agentHash)
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-
agent GitHub repository.
|
void |
setAgentVersion(java.lang.String agentVersion)
The version number of the Amazon ECS container agent.
|
void |
setDockerVersion(java.lang.String dockerVersion)
The Docker version running on the container instance.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VersionInfo |
withAgentHash(java.lang.String agentHash)
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-
agent GitHub repository.
|
VersionInfo |
withAgentVersion(java.lang.String agentVersion)
The version number of the Amazon ECS container agent.
|
VersionInfo |
withDockerVersion(java.lang.String dockerVersion)
The Docker version running on the container instance.
|
private java.lang.String agentVersion
The version number of the Amazon ECS container agent.
private java.lang.String agentHash
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.
private java.lang.String dockerVersion
The Docker version running on the container instance.
public void setAgentVersion(java.lang.String agentVersion)
The version number of the Amazon ECS container agent.
agentVersion
- The version number of the Amazon ECS container agent.public java.lang.String getAgentVersion()
The version number of the Amazon ECS container agent.
public VersionInfo withAgentVersion(java.lang.String agentVersion)
The version number of the Amazon ECS container agent.
agentVersion
- The version number of the Amazon ECS container agent.public void setAgentHash(java.lang.String agentHash)
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.
agentHash
- The Git commit hash for the Amazon ECS container agent build on
the amazon-ecs-agent GitHub repository.public java.lang.String getAgentHash()
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.
public VersionInfo withAgentHash(java.lang.String agentHash)
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs- agent GitHub repository.
agentHash
- The Git commit hash for the Amazon ECS container agent build on
the amazon-ecs-agent GitHub repository.public void setDockerVersion(java.lang.String dockerVersion)
The Docker version running on the container instance.
dockerVersion
- The Docker version running on the container instance.public java.lang.String getDockerVersion()
The Docker version running on the container instance.
public VersionInfo withDockerVersion(java.lang.String dockerVersion)
The Docker version running on the container instance.
dockerVersion
- The Docker version running on the container instance.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public VersionInfo clone()
clone
in class java.lang.Object