public class VersionInfo extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
VersionInfo() |
| Modifier and Type | Method and Description |
|---|---|
VersionInfo |
clone() |
boolean |
equals(Object obj) |
String |
getAgentHash()
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent
GitHub repository.
|
String |
getAgentVersion()
The version number of the Amazon ECS container agent.
|
String |
getDockerVersion()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
VersionInfo |
withAgentHash(String agentHash)
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent
GitHub repository.
|
VersionInfo |
withAgentVersion(String agentVersion)
The version number of the Amazon ECS container agent.
|
VersionInfo |
withDockerVersion(String dockerVersion)
The Docker version running on the container instance.
|
public String getAgentVersion()
public void setAgentVersion(String agentVersion)
agentVersion - The version number of the Amazon ECS container agent.public VersionInfo withAgentVersion(String agentVersion)
Returns a reference to this object so that method calls can be chained together.
agentVersion - The version number of the Amazon ECS container agent.public String getAgentHash()
public void setAgentHash(String agentHash)
agentHash - The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent
GitHub repository.public VersionInfo withAgentHash(String agentHash)
Returns a reference to this object so that method calls can be chained together.
agentHash - The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent
GitHub repository.public String getDockerVersion()
public void setDockerVersion(String dockerVersion)
dockerVersion - The Docker version running on the container instance.public VersionInfo withDockerVersion(String dockerVersion)
Returns a reference to this object so that method calls can be chained together.
dockerVersion - The Docker version running on the container instance.public String toString()
toString in class ObjectObject.toString()public VersionInfo clone()
Copyright © 2015. All rights reserved.