Class ResourceConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.model.ResourceConfiguration.Builder
-
- Enclosing class:
- ResourceConfiguration
public static class ResourceConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceConfigurationbuild()ResourceConfiguration.Buildercopy(ResourceConfiguration model)ResourceConfiguration.BuilderdriverShape(String driverShape)The VM shape of the driver used while creating an Oracle Cloud Infrastructure Data Flow application.ResourceConfiguration.BuilderexecutorShape(String executorShape)The shape of the executor used while creating an Oracle Cloud Infrastructure Data Flow application.ResourceConfiguration.BuildersparkVersion(String sparkVersion)The version of the spark used while creating an Oracle Cloud Infrastructure Data Flow application.ResourceConfiguration.BuildertotalExecutors(Integer totalExecutors)Number of executor VMs requested while creating an Oracle Cloud Infrastructure Data Flow application.
-
-
-
Method Detail
-
sparkVersion
public ResourceConfiguration.Builder sparkVersion(String sparkVersion)
The version of the spark used while creating an Oracle Cloud Infrastructure Data Flow application.- Parameters:
sparkVersion- the value to set- Returns:
- this builder
-
driverShape
public ResourceConfiguration.Builder driverShape(String driverShape)
The VM shape of the driver used while creating an Oracle Cloud Infrastructure Data Flow application.It sets the driver cores and memory.
- Parameters:
driverShape- the value to set- Returns:
- this builder
-
executorShape
public ResourceConfiguration.Builder executorShape(String executorShape)
The shape of the executor used while creating an Oracle Cloud Infrastructure Data Flow application.It sets the executor cores and memory.
- Parameters:
executorShape- the value to set- Returns:
- this builder
-
totalExecutors
public ResourceConfiguration.Builder totalExecutors(Integer totalExecutors)
Number of executor VMs requested while creating an Oracle Cloud Infrastructure Data Flow application.- Parameters:
totalExecutors- the value to set- Returns:
- this builder
-
build
public ResourceConfiguration build()
-
copy
public ResourceConfiguration.Builder copy(ResourceConfiguration model)
-
-