java.lang.Object
com.azure.resourcemanager.hanaonazure.models.OSProfile

public final class OSProfile extends Object
Specifies the operating system settings for the HANA instance.
  • Constructor Details

    • OSProfile

      public OSProfile()
      Creates an instance of OSProfile class.
  • Method Details

    • computerName

      public String computerName()
      Get the computerName property: Specifies the host OS name of the HANA instance.
      Returns:
      the computerName value.
    • withComputerName

      public OSProfile withComputerName(String computerName)
      Set the computerName property: Specifies the host OS name of the HANA instance.
      Parameters:
      computerName - the computerName value to set.
      Returns:
      the OSProfile object itself.
    • osType

      public String osType()
      Get the osType property: This property allows you to specify the type of the OS.
      Returns:
      the osType value.
    • version

      public String version()
      Get the version property: Specifies version of operating system.
      Returns:
      the version value.
    • sshPublicKey

      public String sshPublicKey()
      Get the sshPublicKey property: Specifies the SSH public key used to access the operating system.
      Returns:
      the sshPublicKey value.
    • withSshPublicKey

      public OSProfile withSshPublicKey(String sshPublicKey)
      Set the sshPublicKey property: Specifies the SSH public key used to access the operating system.
      Parameters:
      sshPublicKey - the sshPublicKey value to set.
      Returns:
      the OSProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.