Class HDInsightProperties


  • public final class HDInsightProperties
    extends Object
    HDInsight compute properties.
    • Constructor Detail

      • HDInsightProperties

        public HDInsightProperties()
    • Method Detail

      • 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.