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:
  • Constructor Details

    • ReportedOs

      public ReportedOs()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ReportedOs clone()
      Overrides:
      clone in class Object