Class BigDataPoolResourceProperties

java.lang.Object
com.azure.resourcemanager.synapse.fluent.models.BigDataPoolResourceProperties

public final class BigDataPoolResourceProperties extends Object
Spark pool properties

Properties of a Big Data pool powered by Apache Spark.

  • Constructor Details

    • BigDataPoolResourceProperties

      public BigDataPoolResourceProperties()
      Creates an instance of BigDataPoolResourceProperties class.
  • Method Details

    • provisioningState

      public String provisioningState()
      Get the provisioningState property: The state of the Big Data pool.
      Returns:
      the provisioningState value.
    • withProvisioningState

      public BigDataPoolResourceProperties withProvisioningState(String provisioningState)
      Set the provisioningState property: The state of the Big Data pool.
      Parameters:
      provisioningState - the provisioningState value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • autoScale

      public AutoScaleProperties autoScale()
      Get the autoScale property: Spark pool auto-scaling properties

      Auto-scaling properties.

      Returns:
      the autoScale value.
    • withAutoScale

      public BigDataPoolResourceProperties withAutoScale(AutoScaleProperties autoScale)
      Set the autoScale property: Spark pool auto-scaling properties

      Auto-scaling properties.

      Parameters:
      autoScale - the autoScale value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • creationDate

      public OffsetDateTime creationDate()
      Get the creationDate property: The time when the Big Data pool was created.
      Returns:
      the creationDate value.
    • autoPause

      public AutoPauseProperties autoPause()
      Get the autoPause property: Spark pool auto-pausing properties

      Auto-pausing properties.

      Returns:
      the autoPause value.
    • withAutoPause

      public BigDataPoolResourceProperties withAutoPause(AutoPauseProperties autoPause)
      Set the autoPause property: Spark pool auto-pausing properties

      Auto-pausing properties.

      Parameters:
      autoPause - the autoPause value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • isComputeIsolationEnabled

      public Boolean isComputeIsolationEnabled()
      Get the isComputeIsolationEnabled property: Whether compute isolation is required or not.
      Returns:
      the isComputeIsolationEnabled value.
    • withIsComputeIsolationEnabled

      public BigDataPoolResourceProperties withIsComputeIsolationEnabled(Boolean isComputeIsolationEnabled)
      Set the isComputeIsolationEnabled property: Whether compute isolation is required or not.
      Parameters:
      isComputeIsolationEnabled - the isComputeIsolationEnabled value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • isAutotuneEnabled

      public Boolean isAutotuneEnabled()
      Get the isAutotuneEnabled property: Enable Autotune

      Whether autotune is required or not.

      Returns:
      the isAutotuneEnabled value.
    • withIsAutotuneEnabled

      public BigDataPoolResourceProperties withIsAutotuneEnabled(Boolean isAutotuneEnabled)
      Set the isAutotuneEnabled property: Enable Autotune

      Whether autotune is required or not.

      Parameters:
      isAutotuneEnabled - the isAutotuneEnabled value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • sessionLevelPackagesEnabled

      public Boolean sessionLevelPackagesEnabled()
      Get the sessionLevelPackagesEnabled property: Whether session level packages enabled.
      Returns:
      the sessionLevelPackagesEnabled value.
    • withSessionLevelPackagesEnabled

      public BigDataPoolResourceProperties withSessionLevelPackagesEnabled(Boolean sessionLevelPackagesEnabled)
      Set the sessionLevelPackagesEnabled property: Whether session level packages enabled.
      Parameters:
      sessionLevelPackagesEnabled - the sessionLevelPackagesEnabled value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • cacheSize

      public Integer cacheSize()
      Get the cacheSize property: The cache size.
      Returns:
      the cacheSize value.
    • dynamicExecutorAllocation

      public DynamicExecutorAllocation dynamicExecutorAllocation()
      Get the dynamicExecutorAllocation property: Dynamic Executor Allocation.
      Returns:
      the dynamicExecutorAllocation value.
    • withDynamicExecutorAllocation

      public BigDataPoolResourceProperties withDynamicExecutorAllocation(DynamicExecutorAllocation dynamicExecutorAllocation)
      Set the dynamicExecutorAllocation property: Dynamic Executor Allocation.
      Parameters:
      dynamicExecutorAllocation - the dynamicExecutorAllocation value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • sparkEventsFolder

      public String sparkEventsFolder()
      Get the sparkEventsFolder property: The Spark events folder.
      Returns:
      the sparkEventsFolder value.
    • withSparkEventsFolder

      public BigDataPoolResourceProperties withSparkEventsFolder(String sparkEventsFolder)
      Set the sparkEventsFolder property: The Spark events folder.
      Parameters:
      sparkEventsFolder - the sparkEventsFolder value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • nodeCount

      public Integer nodeCount()
      Get the nodeCount property: The number of nodes in the Big Data pool.
      Returns:
      the nodeCount value.
    • withNodeCount

      public BigDataPoolResourceProperties withNodeCount(Integer nodeCount)
      Set the nodeCount property: The number of nodes in the Big Data pool.
      Parameters:
      nodeCount - the nodeCount value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • libraryRequirements

      public LibraryRequirements libraryRequirements()
      Get the libraryRequirements property: Spark pool library version requirements

      Library version requirements.

      Returns:
      the libraryRequirements value.
    • withLibraryRequirements

      public BigDataPoolResourceProperties withLibraryRequirements(LibraryRequirements libraryRequirements)
      Set the libraryRequirements property: Spark pool library version requirements

      Library version requirements.

      Parameters:
      libraryRequirements - the libraryRequirements value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • customLibraries

      public List<LibraryInfo> customLibraries()
      Get the customLibraries property: List of custom libraries/packages associated with the spark pool.
      Returns:
      the customLibraries value.
    • withCustomLibraries

      public BigDataPoolResourceProperties withCustomLibraries(List<LibraryInfo> customLibraries)
      Set the customLibraries property: List of custom libraries/packages associated with the spark pool.
      Parameters:
      customLibraries - the customLibraries value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • sparkConfigProperties

      public SparkConfigProperties sparkConfigProperties()
      Get the sparkConfigProperties property: Spark pool Config Properties

      Spark configuration file to specify additional properties.

      Returns:
      the sparkConfigProperties value.
    • withSparkConfigProperties

      public BigDataPoolResourceProperties withSparkConfigProperties(SparkConfigProperties sparkConfigProperties)
      Set the sparkConfigProperties property: Spark pool Config Properties

      Spark configuration file to specify additional properties.

      Parameters:
      sparkConfigProperties - the sparkConfigProperties value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • sparkVersion

      public String sparkVersion()
      Get the sparkVersion property: The Apache Spark version.
      Returns:
      the sparkVersion value.
    • withSparkVersion

      public BigDataPoolResourceProperties withSparkVersion(String sparkVersion)
      Set the sparkVersion property: The Apache Spark version.
      Parameters:
      sparkVersion - the sparkVersion value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • defaultSparkLogFolder

      public String defaultSparkLogFolder()
      Get the defaultSparkLogFolder property: The default folder where Spark logs will be written.
      Returns:
      the defaultSparkLogFolder value.
    • withDefaultSparkLogFolder

      public BigDataPoolResourceProperties withDefaultSparkLogFolder(String defaultSparkLogFolder)
      Set the defaultSparkLogFolder property: The default folder where Spark logs will be written.
      Parameters:
      defaultSparkLogFolder - the defaultSparkLogFolder value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • nodeSize

      public NodeSize nodeSize()
      Get the nodeSize property: The level of compute power that each node in the Big Data pool has.
      Returns:
      the nodeSize value.
    • withNodeSize

      public BigDataPoolResourceProperties withNodeSize(NodeSize nodeSize)
      Set the nodeSize property: The level of compute power that each node in the Big Data pool has.
      Parameters:
      nodeSize - the nodeSize value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • nodeSizeFamily

      public NodeSizeFamily nodeSizeFamily()
      Get the nodeSizeFamily property: The kind of nodes that the Big Data pool provides.
      Returns:
      the nodeSizeFamily value.
    • withNodeSizeFamily

      public BigDataPoolResourceProperties withNodeSizeFamily(NodeSizeFamily nodeSizeFamily)
      Set the nodeSizeFamily property: The kind of nodes that the Big Data pool provides.
      Parameters:
      nodeSizeFamily - the nodeSizeFamily value to set.
      Returns:
      the BigDataPoolResourceProperties object itself.
    • lastSucceededTimestamp

      public OffsetDateTime lastSucceededTimestamp()
      Get the lastSucceededTimestamp property: The time when the Big Data pool was updated successfully.
      Returns:
      the lastSucceededTimestamp value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.