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 ReportedOsclone()booleanequals(Object obj)StringgetFamily()The operating system family.StringgetName()The operating system name.StringgetVersion()The operating system version.inthashCode()voidsetFamily(String family)The operating system family.voidsetName(String name)The operating system name.voidsetVersion(String version)The operating system version.StringtoString()Returns a string representation of this object; useful for testing and debugging.ReportedOswithFamily(String family)The operating system family.ReportedOswithName(String name)The operating system name.ReportedOswithVersion(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ReportedOs clone()
-
-