@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VersionInfo extends Object implements Serializable, Cloneable, StructuredPojo
The Docker and Amazon ECS container agent version information about a container instance.
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 void setAgentVersion(String agentVersion)
The version number of the Amazon ECS container agent.
agentVersion
- The version number of the Amazon ECS container agent.public String getAgentVersion()
The version number of the Amazon ECS container agent.
public VersionInfo withAgentVersion(String agentVersion)
The version number of the Amazon ECS container agent.
agentVersion
- The version number of the Amazon ECS container agent.public void setAgentHash(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 String getAgentHash()
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.
public VersionInfo withAgentHash(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(String dockerVersion)
The Docker version running on the container instance.
dockerVersion
- The Docker version running on the container instance.public String getDockerVersion()
The Docker version running on the container instance.
public VersionInfo withDockerVersion(String dockerVersion)
The Docker version running on the container instance.
dockerVersion
- The Docker version running on the container instance.public String toString()
toString
in class Object
Object.toString()
public VersionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.