Package com.oracle.bmc.analytics.model
Class Capacity.Builder
- java.lang.Object
-
- com.oracle.bmc.analytics.model.Capacity.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Capacity
build()
Capacity.Builder
capacityType(CapacityType capacityType)
The capacity model to use.Capacity.Builder
capacityValue(Integer capacityValue)
The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT).Capacity.Builder
copy(Capacity model)
-
-
-
Method Detail
-
capacityType
public Capacity.Builder capacityType(CapacityType capacityType)
The capacity model to use.Accepted values are: OLPU_COUNT, USER_COUNT
- Parameters:
capacityType
- the value to set- Returns:
- this builder
-
capacityValue
public Capacity.Builder capacityValue(Integer capacityValue)
The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT).This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the instance.
- Parameters:
capacityValue
- the value to set- Returns:
- this builder
-
build
public Capacity build()
-
copy
public Capacity.Builder copy(Capacity model)
-
-