@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Platform extends Object implements Serializable, Cloneable, StructuredPojo
The platform-related details about the DataSync agent, such as the version number.
Constructor and Description |
---|
Platform() |
Modifier and Type | Method and Description |
---|---|
Platform |
clone() |
boolean |
equals(Object obj) |
String |
getVersion()
The version of the DataSync agent.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setVersion(String version)
The version of the DataSync agent.
|
String |
toString()
Returns a string representation of this object.
|
Platform |
withVersion(String version)
The version of the DataSync agent.
|
public void setVersion(String version)
The version of the DataSync agent.
version
- The version of the DataSync agent.public String getVersion()
The version of the DataSync agent.
public Platform withVersion(String version)
The version of the DataSync agent.
version
- The version of the DataSync agent.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.