Class HDInsightProperties

java.lang.Object
com.azure.resourcemanager.machinelearning.models.HDInsightProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<HDInsightProperties>

public final class HDInsightProperties extends Object implements com.azure.json.JsonSerializable<HDInsightProperties>
HDInsight compute properties.
  • Constructor Details

    • HDInsightProperties

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

    • sshPort

      public Integer sshPort()
      Get the sshPort property: Port open for ssh connections on the master node of the cluster.
      Returns:
      the sshPort value.
    • withSshPort

      public HDInsightProperties withSshPort(Integer sshPort)
      Set the sshPort property: Port open for ssh connections on the master node of the cluster.
      Parameters:
      sshPort - the sshPort value to set.
      Returns:
      the HDInsightProperties object itself.
    • address

      public String address()
      Get the address property: Public IP address of the master node of the cluster.
      Returns:
      the address value.
    • withAddress

      public HDInsightProperties withAddress(String address)
      Set the address property: Public IP address of the master node of the cluster.
      Parameters:
      address - the address value to set.
      Returns:
      the HDInsightProperties object itself.
    • administratorAccount

      public VirtualMachineSshCredentials administratorAccount()
      Get the administratorAccount property: Admin credentials for master node of the cluster.
      Returns:
      the administratorAccount value.
    • withAdministratorAccount

      public HDInsightProperties withAdministratorAccount(VirtualMachineSshCredentials administratorAccount)
      Set the administratorAccount property: Admin credentials for master node of the cluster.
      Parameters:
      administratorAccount - the administratorAccount value to set.
      Returns:
      the HDInsightProperties object itself.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<HDInsightProperties>
      Throws:
      IOException
    • fromJson

      public static HDInsightProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of HDInsightProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of HDInsightProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the HDInsightProperties.