@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OSInfo extends Object implements Serializable, Cloneable, StructuredPojo
Information about the operating system.
| Constructor and Description |
|---|
OSInfo() |
| Modifier and Type | Method and Description |
|---|---|
OSInfo |
clone() |
boolean |
equals(Object obj) |
String |
getType()
Information about the type of operating system.
|
String |
getVersion()
Information about the version of operating system.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
Information about the type of operating system.
|
void |
setVersion(String version)
Information about the version of operating system.
|
String |
toString()
Returns a string representation of this object.
|
OSInfo |
withType(OSType type)
Information about the type of operating system.
|
OSInfo |
withType(String type)
Information about the type of operating system.
|
OSInfo |
withVersion(String version)
Information about the version of operating system.
|
public void setType(String type)
Information about the type of operating system.
type - Information about the type of operating system.OSTypepublic String getType()
Information about the type of operating system.
OSTypepublic OSInfo withType(String type)
Information about the type of operating system.
type - Information about the type of operating system.OSTypepublic OSInfo withType(OSType type)
Information about the type of operating system.
type - Information about the type of operating system.OSTypepublic void setVersion(String version)
Information about the version of operating system.
version - Information about the version of operating system.public String getVersion()
Information about the version of operating system.
public OSInfo withVersion(String version)
Information about the version of operating system.
version - Information about the version of operating system.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.