共用方式為


BigDataPoolResourceProperties Class

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

Implements

public final class BigDataPoolResourceProperties
implements JsonSerializable<BigDataPoolResourceProperties>

Spark pool properties Properties of a Big Data pool powered by Apache Spark.

Constructor Summary

Constructor Description
BigDataPoolResourceProperties()

Creates an instance of BigDataPoolResourceProperties class.

Method Summary

Modifier and Type Method and Description
AutoPauseProperties autoPause()

Get the autoPause property: Auto-pausing properties.

AutoScaleProperties autoScale()

Get the autoScale property: Auto-scaling properties.

Integer cacheSize()

Get the cacheSize property: The cache size.

OffsetDateTime creationDate()

Get the creationDate property: The time when the Big Data pool was created.

List<LibraryInfo> customLibraries()

Get the customLibraries property: List of custom libraries/packages associated with the spark pool.

String defaultSparkLogFolder()

Get the defaultSparkLogFolder property: The default folder where Spark logs will be written.

DynamicExecutorAllocation dynamicExecutorAllocation()

Get the dynamicExecutorAllocation property: Dynamic Executor Allocation.

static BigDataPoolResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of BigDataPoolResourceProperties from the JsonReader.

Boolean isAutotuneEnabled()

Get the isAutotuneEnabled property: Whether autotune is required or not.

Boolean isComputeIsolationEnabled()

Get the isComputeIsolationEnabled property: Whether compute isolation is required or not.

OffsetDateTime lastSucceededTimestamp()

Get the lastSucceededTimestamp property: The time when the Big Data pool was updated successfully.

LibraryRequirements libraryRequirements()

Get the libraryRequirements property: Library version requirements.

Integer nodeCount()

Get the nodeCount property: The number of nodes in the Big Data pool.

NodeSize nodeSize()

Get the nodeSize property: The level of compute power that each node in the Big Data pool has.

NodeSizeFamily nodeSizeFamily()

Get the nodeSizeFamily property: The kind of nodes that the Big Data pool provides.

String provisioningState()

Get the provisioningState property: The state of the Big Data pool.

Boolean sessionLevelPackagesEnabled()

Get the sessionLevelPackagesEnabled property: Whether session level packages enabled.

SparkConfigProperties sparkConfigProperties()

Get the sparkConfigProperties property: Spark configuration file to specify additional properties.

String sparkEventsFolder()

Get the sparkEventsFolder property: The Spark events folder.

String sparkVersion()

Get the sparkVersion property: The Apache Spark version.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

BigDataPoolResourceProperties withAutoPause(AutoPauseProperties autoPause)

Set the autoPause property: Auto-pausing properties.

BigDataPoolResourceProperties withAutoScale(AutoScaleProperties autoScale)

Set the autoScale property: Auto-scaling properties.

BigDataPoolResourceProperties withCacheSize(Integer cacheSize)

Set the cacheSize property: The cache size.

BigDataPoolResourceProperties withCustomLibraries(List<LibraryInfo> customLibraries)

Set the customLibraries property: List of custom libraries/packages associated with the spark pool.

BigDataPoolResourceProperties withDefaultSparkLogFolder(String defaultSparkLogFolder)

Set the defaultSparkLogFolder property: The default folder where Spark logs will be written.

BigDataPoolResourceProperties withDynamicExecutorAllocation(DynamicExecutorAllocation dynamicExecutorAllocation)

Set the dynamicExecutorAllocation property: Dynamic Executor Allocation.

BigDataPoolResourceProperties withIsAutotuneEnabled(Boolean isAutotuneEnabled)

Set the isAutotuneEnabled property: Whether autotune is required or not.

BigDataPoolResourceProperties withIsComputeIsolationEnabled(Boolean isComputeIsolationEnabled)

Set the isComputeIsolationEnabled property: Whether compute isolation is required or not.

BigDataPoolResourceProperties withLibraryRequirements(LibraryRequirements libraryRequirements)

Set the libraryRequirements property: Library version requirements.

BigDataPoolResourceProperties withNodeCount(Integer nodeCount)

Set the nodeCount property: The number of nodes in the Big Data pool.

BigDataPoolResourceProperties withNodeSize(NodeSize nodeSize)

Set the nodeSize property: The level of compute power that each node in the Big Data pool has.

BigDataPoolResourceProperties withNodeSizeFamily(NodeSizeFamily nodeSizeFamily)

Set the nodeSizeFamily property: The kind of nodes that the Big Data pool provides.

BigDataPoolResourceProperties withProvisioningState(String provisioningState)

Set the provisioningState property: The state of the Big Data pool.

BigDataPoolResourceProperties withSessionLevelPackagesEnabled(Boolean sessionLevelPackagesEnabled)

Set the sessionLevelPackagesEnabled property: Whether session level packages enabled.

BigDataPoolResourceProperties withSparkConfigProperties(SparkConfigProperties sparkConfigProperties)

Set the sparkConfigProperties property: Spark configuration file to specify additional properties.

BigDataPoolResourceProperties withSparkEventsFolder(String sparkEventsFolder)

Set the sparkEventsFolder property: The Spark events folder.

BigDataPoolResourceProperties withSparkVersion(String sparkVersion)

Set the sparkVersion property: The Apache Spark version.

Methods inherited from java.lang.Object

Constructor Details

BigDataPoolResourceProperties

public BigDataPoolResourceProperties()

Creates an instance of BigDataPoolResourceProperties class.

Method Details

autoPause

public AutoPauseProperties autoPause()

Get the autoPause property: Auto-pausing properties.

Returns:

the autoPause value.

autoScale

public AutoScaleProperties autoScale()

Get the autoScale property: Auto-scaling properties.

Returns:

the autoScale value.

cacheSize

public Integer cacheSize()

Get the cacheSize property: The cache size.

Returns:

the cacheSize value.

creationDate

public OffsetDateTime creationDate()

Get the creationDate property: The time when the Big Data pool was created.

Returns:

the creationDate value.

customLibraries

public List<LibraryInfo> customLibraries()

Get the customLibraries property: List of custom libraries/packages associated with the spark pool.

Returns:

the customLibraries value.

defaultSparkLogFolder

public String defaultSparkLogFolder()

Get the defaultSparkLogFolder property: The default folder where Spark logs will be written.

Returns:

the defaultSparkLogFolder value.

dynamicExecutorAllocation

public DynamicExecutorAllocation dynamicExecutorAllocation()

Get the dynamicExecutorAllocation property: Dynamic Executor Allocation.

Returns:

the dynamicExecutorAllocation value.

fromJson

public static BigDataPoolResourceProperties fromJson(JsonReader jsonReader)

Reads an instance of BigDataPoolResourceProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BigDataPoolResourceProperties 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 BigDataPoolResourceProperties.

isAutotuneEnabled

public Boolean isAutotuneEnabled()

Get the isAutotuneEnabled property: Whether autotune is required or not.

Returns:

the isAutotuneEnabled value.

isComputeIsolationEnabled

public Boolean isComputeIsolationEnabled()

Get the isComputeIsolationEnabled property: Whether compute isolation is required or not.

Returns:

the isComputeIsolationEnabled value.

lastSucceededTimestamp

public OffsetDateTime lastSucceededTimestamp()

Get the lastSucceededTimestamp property: The time when the Big Data pool was updated successfully.

Returns:

the lastSucceededTimestamp value.

libraryRequirements

public LibraryRequirements libraryRequirements()

Get the libraryRequirements property: Library version requirements.

Returns:

the libraryRequirements value.

nodeCount

public Integer nodeCount()

Get the nodeCount property: The number of nodes in the Big Data pool.

Returns:

the nodeCount value.

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.

nodeSizeFamily

public NodeSizeFamily nodeSizeFamily()

Get the nodeSizeFamily property: The kind of nodes that the Big Data pool provides.

Returns:

the nodeSizeFamily value.

provisioningState

public String provisioningState()

Get the provisioningState property: The state of the Big Data pool.

Returns:

the provisioningState value.

sessionLevelPackagesEnabled

public Boolean sessionLevelPackagesEnabled()

Get the sessionLevelPackagesEnabled property: Whether session level packages enabled.

Returns:

the sessionLevelPackagesEnabled value.

sparkConfigProperties

public SparkConfigProperties sparkConfigProperties()

Get the sparkConfigProperties property: Spark configuration file to specify additional properties.

Returns:

the sparkConfigProperties value.

sparkEventsFolder

public String sparkEventsFolder()

Get the sparkEventsFolder property: The Spark events folder.

Returns:

the sparkEventsFolder value.

sparkVersion

public String sparkVersion()

Get the sparkVersion property: The Apache Spark version.

Returns:

the sparkVersion value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAutoPause

public BigDataPoolResourceProperties withAutoPause(AutoPauseProperties autoPause)

Set the autoPause property: Auto-pausing properties.

Parameters:

autoPause - the autoPause value to set.

Returns:

the BigDataPoolResourceProperties object itself.

withAutoScale

public BigDataPoolResourceProperties withAutoScale(AutoScaleProperties autoScale)

Set the autoScale property: Auto-scaling properties.

Parameters:

autoScale - the autoScale value to set.

Returns:

the BigDataPoolResourceProperties object itself.

withCacheSize

public BigDataPoolResourceProperties withCacheSize(Integer cacheSize)

Set the cacheSize property: The cache size.

Parameters:

cacheSize - the cacheSize value to set.

Returns:

the BigDataPoolResourceProperties object itself.

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.

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.

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.

withIsAutotuneEnabled

public BigDataPoolResourceProperties withIsAutotuneEnabled(Boolean isAutotuneEnabled)

Set the isAutotuneEnabled property: Whether autotune is required or not.

Parameters:

isAutotuneEnabled - the isAutotuneEnabled value to set.

Returns:

the BigDataPoolResourceProperties object itself.

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.

withLibraryRequirements

public BigDataPoolResourceProperties withLibraryRequirements(LibraryRequirements libraryRequirements)

Set the libraryRequirements property: Library version requirements.

Parameters:

libraryRequirements - the libraryRequirements value to set.

Returns:

the BigDataPoolResourceProperties object itself.

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.

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.

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.

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.

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.

withSparkConfigProperties

public BigDataPoolResourceProperties withSparkConfigProperties(SparkConfigProperties sparkConfigProperties)

Set the sparkConfigProperties property: Spark configuration file to specify additional properties.

Parameters:

sparkConfigProperties - the sparkConfigProperties value to set.

Returns:

the BigDataPoolResourceProperties object itself.

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.

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.

Applies to