@Generated(value="software.amazon.awssdk:codegen") public final class VersionInfo extends Object implements StructuredPojo, ToCopyableBuilder<VersionInfo.Builder,VersionInfo>
The Docker and Amazon ECS container agent version information about a container instance.
Modifier and Type | Class and Description |
---|---|
static interface |
VersionInfo.Builder |
Modifier and Type | Method and Description |
---|---|
String |
agentHash()
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.
|
String |
agentVersion()
The version number of the Amazon ECS container agent.
|
static VersionInfo.Builder |
builder() |
String |
dockerVersion()
The Docker version running on the container instance.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends VersionInfo.Builder> |
serializableBuilderClass() |
VersionInfo.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String agentVersion()
The version number of the Amazon ECS container agent.
public String agentHash()
The Git commit hash for the Amazon ECS container agent build on the amazon-ecs-agent GitHub repository.
public String dockerVersion()
The Docker version running on the container instance.
public VersionInfo.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<VersionInfo.Builder,VersionInfo>
public static VersionInfo.Builder builder()
public static Class<? extends VersionInfo.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.