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