Class ReportedOs
java.lang.Object
com.amazonaws.services.opsworks.model.ReportedOs
- All Implemented Interfaces:
Serializable
,Cloneable
A registered instance's reported operating system.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The operating system family.getName()
The operating system name.The operating system version.int
hashCode()
void
The operating system family.void
The operating system name.void
setVersion
(String version) The operating system version.toString()
Returns a string representation of this object; useful for testing and debugging.withFamily
(String family) The operating system family.The operating system name.withVersion
(String version) The operating system version.
-
Constructor Details
-
ReportedOs
public ReportedOs()
-
-
Method Details
-
setFamily
The operating system family.
- Parameters:
family
- The operating system family.
-
getFamily
The operating system family.
- Returns:
- The operating system family.
-
withFamily
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
The operating system name.
- Parameters:
name
- The operating system name.
-
getName
The operating system name.
- Returns:
- The operating system name.
-
withName
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
The operating system version.
- Parameters:
version
- The operating system version.
-
getVersion
The operating system version.
- Returns:
- The operating system version.
-
withVersion
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-