Class SynapseSparkProperties
java.lang.Object
com.azure.resourcemanager.machinelearning.models.SynapseSparkProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SynapseSparkProperties>
public final class SynapseSparkProperties
extends Object
implements com.azure.json.JsonSerializable<SynapseSparkProperties>
The SynapseSparkProperties model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SynapseSparkProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the autoPauseProperties property: Auto pause properties.Get the autoScaleProperties property: Auto scale properties.static SynapseSparkPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SynapseSparkProperties from the JsonReader.Get the nodeCount property: The number of compute nodes currently assigned to the compute.nodeSize()Get the nodeSize property: Node size.Get the nodeSizeFamily property: Node size family.poolName()Get the poolName property: Pool name.Get the resourceGroup property: Name of the resource group in which workspace is located.Get the sparkVersion property: Spark version.Get the subscriptionId property: Azure subscription identifier.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAutoPauseProperties(AutoPauseProperties autoPauseProperties) Set the autoPauseProperties property: Auto pause properties.withAutoScaleProperties(AutoScaleProperties autoScaleProperties) Set the autoScaleProperties property: Auto scale properties.withNodeCount(Integer nodeCount) Set the nodeCount property: The number of compute nodes currently assigned to the compute.withNodeSize(String nodeSize) Set the nodeSize property: Node size.withNodeSizeFamily(String nodeSizeFamily) Set the nodeSizeFamily property: Node size family.withPoolName(String poolName) Set the poolName property: Pool name.withResourceGroup(String resourceGroup) Set the resourceGroup property: Name of the resource group in which workspace is located.withSparkVersion(String sparkVersion) Set the sparkVersion property: Spark version.withSubscriptionId(String subscriptionId) Set the subscriptionId property: Azure subscription identifier.withWorkspaceName(String workspaceName) Set the workspaceName property: Name of Azure Machine Learning workspace.Get the workspaceName property: Name of Azure Machine Learning workspace.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
-
SynapseSparkProperties
public SynapseSparkProperties()Creates an instance of SynapseSparkProperties class.
-
-
Method Details
-
autoScaleProperties
Get the autoScaleProperties property: Auto scale properties.- Returns:
- the autoScaleProperties value.
-
withAutoScaleProperties
Set the autoScaleProperties property: Auto scale properties.- Parameters:
autoScaleProperties- the autoScaleProperties value to set.- Returns:
- the SynapseSparkProperties object itself.
-
autoPauseProperties
Get the autoPauseProperties property: Auto pause properties.- Returns:
- the autoPauseProperties value.
-
withAutoPauseProperties
Set the autoPauseProperties property: Auto pause properties.- Parameters:
autoPauseProperties- the autoPauseProperties value to set.- Returns:
- the SynapseSparkProperties object itself.
-
sparkVersion
Get the sparkVersion property: Spark version.- Returns:
- the sparkVersion value.
-
withSparkVersion
Set the sparkVersion property: Spark version.- Parameters:
sparkVersion- the sparkVersion value to set.- Returns:
- the SynapseSparkProperties object itself.
-
nodeCount
Get the nodeCount property: The number of compute nodes currently assigned to the compute.- Returns:
- the nodeCount value.
-
withNodeCount
Set the nodeCount property: The number of compute nodes currently assigned to the compute.- Parameters:
nodeCount- the nodeCount value to set.- Returns:
- the SynapseSparkProperties object itself.
-
nodeSize
Get the nodeSize property: Node size.- Returns:
- the nodeSize value.
-
withNodeSize
Set the nodeSize property: Node size.- Parameters:
nodeSize- the nodeSize value to set.- Returns:
- the SynapseSparkProperties object itself.
-
nodeSizeFamily
Get the nodeSizeFamily property: Node size family.- Returns:
- the nodeSizeFamily value.
-
withNodeSizeFamily
Set the nodeSizeFamily property: Node size family.- Parameters:
nodeSizeFamily- the nodeSizeFamily value to set.- Returns:
- the SynapseSparkProperties object itself.
-
subscriptionId
Get the subscriptionId property: Azure subscription identifier.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: Azure subscription identifier.- Parameters:
subscriptionId- the subscriptionId value to set.- Returns:
- the SynapseSparkProperties object itself.
-
resourceGroup
Get the resourceGroup property: Name of the resource group in which workspace is located.- Returns:
- the resourceGroup value.
-
withResourceGroup
Set the resourceGroup property: Name of the resource group in which workspace is located.- Parameters:
resourceGroup- the resourceGroup value to set.- Returns:
- the SynapseSparkProperties object itself.
-
workspaceName
Get the workspaceName property: Name of Azure Machine Learning workspace.- Returns:
- the workspaceName value.
-
withWorkspaceName
Set the workspaceName property: Name of Azure Machine Learning workspace.- Parameters:
workspaceName- the workspaceName value to set.- Returns:
- the SynapseSparkProperties object itself.
-
poolName
Get the poolName property: Pool name.- Returns:
- the poolName value.
-
withPoolName
Set the poolName property: Pool name.- Parameters:
poolName- the poolName value to set.- Returns:
- the SynapseSparkProperties 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<SynapseSparkProperties>- Throws:
IOException
-
fromJson
public static SynapseSparkProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SynapseSparkProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SynapseSparkProperties 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 SynapseSparkProperties.
-