Class HDInsightProperties
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.HDInsightProperties
-
public final class HDInsightProperties extends Object
HDInsight compute properties.
-
-
Constructor Summary
Constructors Constructor Description HDInsightProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
address()
Get the address property: Public IP address of the master node of the cluster.VirtualMachineSshCredentials
administratorAccount()
Get the administratorAccount property: Admin credentials for master node of the cluster.Integer
sshPort()
Get the sshPort property: Port open for ssh connections on the master node of the cluster.void
validate()
Validates the instance.HDInsightProperties
withAddress(String address)
Set the address property: Public IP address of the master node of the cluster.HDInsightProperties
withAdministratorAccount(VirtualMachineSshCredentials administratorAccount)
Set the administratorAccount property: Admin credentials for master node of the cluster.HDInsightProperties
withSshPort(Integer sshPort)
Set the sshPort property: Port open for ssh connections on the master node of the cluster.
-
-
-
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.
-
-