Class SparkScaleConfig
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.watsonxdata.watsonx_data.v2.model.SparkScaleConfig
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class SparkScaleConfig extends com.ibm.cloud.sdk.core.service.model.GenericModelSpark instance scale configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSparkScaleConfig.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleanautoScaleEnabled()Gets the autoScaleEnabled.java.lang.LongcurrentNumberOfNodes()Gets the currentNumberOfNodes.java.lang.LongmaximumNumberOfNodes()Gets the maximumNumberOfNodes.java.lang.LongminimumNumberOfNodes()Gets the minimumNumberOfNodes.SparkScaleConfig.BuildernewBuilder()New builder.java.lang.StringnodeType()Gets the nodeType.java.lang.LongnumberOfNodes()Gets the numberOfNodes.
-
-
-
Method Detail
-
newBuilder
public SparkScaleConfig.Builder newBuilder()
New builder.- Returns:
- a SparkScaleConfig builder
-
autoScaleEnabled
public java.lang.Boolean autoScaleEnabled()
Gets the autoScaleEnabled. Enable/disable autoscaling.- Returns:
- the autoScaleEnabled
-
currentNumberOfNodes
public java.lang.Long currentNumberOfNodes()
Gets the currentNumberOfNodes. Current node count.- Returns:
- the currentNumberOfNodes
-
maximumNumberOfNodes
public java.lang.Long maximumNumberOfNodes()
Gets the maximumNumberOfNodes. Maximum node count.- Returns:
- the maximumNumberOfNodes
-
minimumNumberOfNodes
public java.lang.Long minimumNumberOfNodes()
Gets the minimumNumberOfNodes. Minimum node count.- Returns:
- the minimumNumberOfNodes
-
nodeType
public java.lang.String nodeType()
Gets the nodeType. Spark instance node type.- Returns:
- the nodeType
-
numberOfNodes
public java.lang.Long numberOfNodes()
Gets the numberOfNodes. Node count.- Returns:
- the numberOfNodes
-
-