Package com.oracle.bmc.bds.model
Class TimeAndVerticalScalingConfig.Builder
- java.lang.Object
- 
- com.oracle.bmc.bds.model.TimeAndVerticalScalingConfig.Builder
 
- 
- Enclosing class:
- TimeAndVerticalScalingConfig
 
 public static class TimeAndVerticalScalingConfig.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeAndVerticalScalingConfigbuild()TimeAndVerticalScalingConfig.Buildercopy(TimeAndVerticalScalingConfig model)TimeAndVerticalScalingConfig.BuildertargetMemoryPerNode(Integer targetMemoryPerNode)For nodes with flexible compute shapes, this value is the desired memory in GBs on each node.TimeAndVerticalScalingConfig.BuildertargetOcpusPerNode(Integer targetOcpusPerNode)For nodes with flexible compute shapes, this value is the desired OCPUs count on each node.TimeAndVerticalScalingConfig.BuildertargetShape(String targetShape)For nodes with fixed compute shapes, this value is the desired shape of each node.TimeAndVerticalScalingConfig.BuildertimeRecurrence(String timeRecurrence)Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action.
 
- 
- 
- 
Method Detail- 
timeRecurrencepublic TimeAndVerticalScalingConfig.Builder timeRecurrence(String timeRecurrence) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action.Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported. - Parameters:
- timeRecurrence- the value to set
- Returns:
- this builder
 
 - 
targetShapepublic TimeAndVerticalScalingConfig.Builder targetShape(String targetShape) For nodes with fixed compute shapes, this value is the desired shape of each node.This value is not used for nodes with flexible compute shapes. - Parameters:
- targetShape- the value to set
- Returns:
- this builder
 
 - 
targetOcpusPerNodepublic TimeAndVerticalScalingConfig.Builder targetOcpusPerNode(Integer targetOcpusPerNode) For nodes with flexible compute shapes, this value is the desired OCPUs count on each node.This value is not used for nodes with fixed compute shapes. - Parameters:
- targetOcpusPerNode- the value to set
- Returns:
- this builder
 
 - 
targetMemoryPerNodepublic TimeAndVerticalScalingConfig.Builder targetMemoryPerNode(Integer targetMemoryPerNode) For nodes with flexible compute shapes, this value is the desired memory in GBs on each node.This value is not used for nodes with fixed compute shapes. - Parameters:
- targetMemoryPerNode- the value to set
- Returns:
- this builder
 
 - 
buildpublic TimeAndVerticalScalingConfig build() 
 - 
copypublic TimeAndVerticalScalingConfig.Builder copy(TimeAndVerticalScalingConfig model) 
 
- 
 
-