Package com.oracle.bmc.datascience.model
Class PipelineShapeConfigDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.datascience.model.PipelineShapeConfigDetails.Builder
-
- Enclosing class:
- PipelineShapeConfigDetails
public static class PipelineShapeConfigDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineShapeConfigDetails
build()
PipelineShapeConfigDetails.Builder
copy(PipelineShapeConfigDetails model)
PipelineShapeConfigDetails.Builder
cpuBaseline(PipelineShapeConfigDetails.CpuBaseline cpuBaseline)
The baseline OCPU utilization for a subcore burstable VM instance.PipelineShapeConfigDetails.Builder
memoryInGBs(Float memoryInGBs)
The total amount of memory available to the pipeline step run instance GBs.PipelineShapeConfigDetails.Builder
memoryInGBsParameterized(String memoryInGBsParameterized)
The total amount of memory available to the pipeline step run instance in GBs specified as a parameter.PipelineShapeConfigDetails.Builder
ocpus(Float ocpus)
The total number of OCPUs available to the pipeline step run instance.PipelineShapeConfigDetails.Builder
ocpusParameterized(String ocpusParameterized)
The total number of OCPUs available to the pipeline step run instance specified as a parameter.
-
-
-
Method Detail
-
ocpus
public PipelineShapeConfigDetails.Builder ocpus(Float ocpus)
The total number of OCPUs available to the pipeline step run instance.- Parameters:
ocpus
- the value to set- Returns:
- this builder
-
memoryInGBs
public PipelineShapeConfigDetails.Builder memoryInGBs(Float memoryInGBs)
The total amount of memory available to the pipeline step run instance GBs.- Parameters:
memoryInGBs
- the value to set- Returns:
- this builder
-
cpuBaseline
public PipelineShapeConfigDetails.Builder cpuBaseline(PipelineShapeConfigDetails.CpuBaseline cpuBaseline)
The baseline OCPU utilization for a subcore burstable VM instance.If this attribute is left blank, it will default to BASELINE_1_1. The following values are supported: BASELINE_1_8 - baseline usage is 1/8 of an OCPU. BASELINE_1_2 - baseline usage is 1/2 of an OCPU. BASELINE_1_1 - baseline usage is an entire OCPU. This represents a non-burstable instance.
- Parameters:
cpuBaseline
- the value to set- Returns:
- this builder
-
ocpusParameterized
public PipelineShapeConfigDetails.Builder ocpusParameterized(String ocpusParameterized)
The total number of OCPUs available to the pipeline step run instance specified as a parameter.This overrides the ocpus value. The request will fail if the parameters used are null or invalid.
- Parameters:
ocpusParameterized
- the value to set- Returns:
- this builder
-
memoryInGBsParameterized
public PipelineShapeConfigDetails.Builder memoryInGBsParameterized(String memoryInGBsParameterized)
The total amount of memory available to the pipeline step run instance in GBs specified as a parameter.This overrides the memoryInGBs value. The request will fail if the parameters used are null or invalid.
- Parameters:
memoryInGBsParameterized
- the value to set- Returns:
- this builder
-
build
public PipelineShapeConfigDetails build()
-
copy
public PipelineShapeConfigDetails.Builder copy(PipelineShapeConfigDetails model)
-
-