Class ReportedOs
- java.lang.Object
-
- com.amazonaws.services.opsworks.model.ReportedOs
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ReportedOs extends Object implements Serializable, Cloneable
A registered instance's reported operating system.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReportedOs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportedOs
clone()
boolean
equals(Object obj)
String
getFamily()
The operating system family.String
getName()
The operating system name.String
getVersion()
The operating system version.int
hashCode()
void
setFamily(String family)
The operating system family.void
setName(String name)
The operating system name.void
setVersion(String version)
The operating system version.String
toString()
Returns a string representation of this object; useful for testing and debugging.ReportedOs
withFamily(String family)
The operating system family.ReportedOs
withName(String name)
The operating system name.ReportedOs
withVersion(String version)
The operating system version.
-
-
-
Method Detail
-
setFamily
public void setFamily(String family)
The operating system family.
- Parameters:
family
- The operating system family.
-
getFamily
public String getFamily()
The operating system family.
- Returns:
- The operating system family.
-
withFamily
public ReportedOs withFamily(String family)
The operating system family.
- Parameters:
family
- The operating system family.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The operating system name.
- Parameters:
name
- The operating system name.
-
getName
public String getName()
The operating system name.
- Returns:
- The operating system name.
-
withName
public ReportedOs withName(String name)
The operating system name.
- Parameters:
name
- The operating system name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVersion
public void setVersion(String version)
The operating system version.
- Parameters:
version
- The operating system version.
-
getVersion
public String getVersion()
The operating system version.
- Returns:
- The operating system version.
-
withVersion
public ReportedOs withVersion(String version)
The operating system version.
- Parameters:
version
- The operating system version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReportedOs clone()
-
-