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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddress()Get the address property: Public IP address of the master node of the cluster.Get the administratorAccount property: Admin credentials for master node of the cluster.static HDInsightPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HDInsightProperties from the JsonReader.sshPort()Get the sshPort property: Port open for ssh connections on the master node of the cluster.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAddress(String address) Set the address property: Public IP address of the master node of the cluster.withAdministratorAccount(VirtualMachineSshCredentials administratorAccount) Set the administratorAccount property: Admin credentials for master node of the cluster.withSshPort(Integer sshPort) Set the sshPort property: Port open for ssh connections on the master node of the cluster.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
HDInsightProperties
public HDInsightProperties()Creates an instance of HDInsightProperties class.
-
-
Method Details
-
sshPort
Get the sshPort property: Port open for ssh connections on the master node of the cluster.- Returns:
- the sshPort value.
-
withSshPort
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
Get the address property: Public IP address of the master node of the cluster.- Returns:
- the address value.
-
withAddress
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
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<HDInsightProperties>- Throws:
IOException
-
fromJson
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.
-