Class SynapseSparkProperties
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.SynapseSparkProperties
-
public final class SynapseSparkProperties extends Object
The SynapseSparkProperties model.
-
-
Constructor Summary
Constructors Constructor Description SynapseSparkProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoPauseProperties
autoPauseProperties()
Get the autoPauseProperties property: Auto pause properties.AutoScaleProperties
autoScaleProperties()
Get the autoScaleProperties property: Auto scale properties.Integer
nodeCount()
Get the nodeCount property: The number of compute nodes currently assigned to the compute.String
nodeSize()
Get the nodeSize property: Node size.String
nodeSizeFamily()
Get the nodeSizeFamily property: Node size family.String
poolName()
Get the poolName property: Pool name.String
resourceGroup()
Get the resourceGroup property: Name of the resource group in which workspace is located.String
sparkVersion()
Get the sparkVersion property: Spark version.String
subscriptionId()
Get the subscriptionId property: Azure subscription identifier.void
validate()
Validates the instance.SynapseSparkProperties
withAutoPauseProperties(AutoPauseProperties autoPauseProperties)
Set the autoPauseProperties property: Auto pause properties.SynapseSparkProperties
withAutoScaleProperties(AutoScaleProperties autoScaleProperties)
Set the autoScaleProperties property: Auto scale properties.SynapseSparkProperties
withNodeCount(Integer nodeCount)
Set the nodeCount property: The number of compute nodes currently assigned to the compute.SynapseSparkProperties
withNodeSize(String nodeSize)
Set the nodeSize property: Node size.SynapseSparkProperties
withNodeSizeFamily(String nodeSizeFamily)
Set the nodeSizeFamily property: Node size family.SynapseSparkProperties
withPoolName(String poolName)
Set the poolName property: Pool name.SynapseSparkProperties
withResourceGroup(String resourceGroup)
Set the resourceGroup property: Name of the resource group in which workspace is located.SynapseSparkProperties
withSparkVersion(String sparkVersion)
Set the sparkVersion property: Spark version.SynapseSparkProperties
withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Azure subscription identifier.SynapseSparkProperties
withWorkspaceName(String workspaceName)
Set the workspaceName property: Name of Azure Machine Learning workspace.String
workspaceName()
Get the workspaceName property: Name of Azure Machine Learning workspace.
-
-
-
Method Detail
-
autoScaleProperties
public AutoScaleProperties autoScaleProperties()
Get the autoScaleProperties property: Auto scale properties.- Returns:
- the autoScaleProperties value.
-
withAutoScaleProperties
public SynapseSparkProperties withAutoScaleProperties(AutoScaleProperties autoScaleProperties)
Set the autoScaleProperties property: Auto scale properties.- Parameters:
autoScaleProperties
- the autoScaleProperties value to set.- Returns:
- the SynapseSparkProperties object itself.
-
autoPauseProperties
public AutoPauseProperties autoPauseProperties()
Get the autoPauseProperties property: Auto pause properties.- Returns:
- the autoPauseProperties value.
-
withAutoPauseProperties
public SynapseSparkProperties withAutoPauseProperties(AutoPauseProperties autoPauseProperties)
Set the autoPauseProperties property: Auto pause properties.- Parameters:
autoPauseProperties
- the autoPauseProperties value to set.- Returns:
- the SynapseSparkProperties object itself.
-
sparkVersion
public String sparkVersion()
Get the sparkVersion property: Spark version.- Returns:
- the sparkVersion value.
-
withSparkVersion
public SynapseSparkProperties withSparkVersion(String sparkVersion)
Set the sparkVersion property: Spark version.- Parameters:
sparkVersion
- the sparkVersion value to set.- Returns:
- the SynapseSparkProperties object itself.
-
nodeCount
public Integer nodeCount()
Get the nodeCount property: The number of compute nodes currently assigned to the compute.- Returns:
- the nodeCount value.
-
withNodeCount
public SynapseSparkProperties withNodeCount(Integer nodeCount)
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
public String nodeSize()
Get the nodeSize property: Node size.- Returns:
- the nodeSize value.
-
withNodeSize
public SynapseSparkProperties withNodeSize(String nodeSize)
Set the nodeSize property: Node size.- Parameters:
nodeSize
- the nodeSize value to set.- Returns:
- the SynapseSparkProperties object itself.
-
nodeSizeFamily
public String nodeSizeFamily()
Get the nodeSizeFamily property: Node size family.- Returns:
- the nodeSizeFamily value.
-
withNodeSizeFamily
public SynapseSparkProperties withNodeSizeFamily(String nodeSizeFamily)
Set the nodeSizeFamily property: Node size family.- Parameters:
nodeSizeFamily
- the nodeSizeFamily value to set.- Returns:
- the SynapseSparkProperties object itself.
-
subscriptionId
public String subscriptionId()
Get the subscriptionId property: Azure subscription identifier.- Returns:
- the subscriptionId value.
-
withSubscriptionId
public SynapseSparkProperties withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Azure subscription identifier.- Parameters:
subscriptionId
- the subscriptionId value to set.- Returns:
- the SynapseSparkProperties object itself.
-
resourceGroup
public String resourceGroup()
Get the resourceGroup property: Name of the resource group in which workspace is located.- Returns:
- the resourceGroup value.
-
withResourceGroup
public SynapseSparkProperties withResourceGroup(String resourceGroup)
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
public String workspaceName()
Get the workspaceName property: Name of Azure Machine Learning workspace.- Returns:
- the workspaceName value.
-
withWorkspaceName
public SynapseSparkProperties withWorkspaceName(String workspaceName)
Set the workspaceName property: Name of Azure Machine Learning workspace.- Parameters:
workspaceName
- the workspaceName value to set.- Returns:
- the SynapseSparkProperties object itself.
-
poolName
public String poolName()
Get the poolName property: Pool name.- Returns:
- the poolName value.
-
withPoolName
public SynapseSparkProperties withPoolName(String poolName)
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.
-
-