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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeAndVerticalScalingConfig
build()
TimeAndVerticalScalingConfig.Builder
copy(TimeAndVerticalScalingConfig model)
TimeAndVerticalScalingConfig.Builder
targetMemoryPerNode(Integer targetMemoryPerNode)
For nodes with flexible compute shapes, this value is the desired memory in GBs on each node.TimeAndVerticalScalingConfig.Builder
targetOcpusPerNode(Integer targetOcpusPerNode)
For nodes with flexible compute shapes, this value is the desired OCPUs count on each node.TimeAndVerticalScalingConfig.Builder
targetShape(String targetShape)
For nodes with fixed compute shapes, this value is the desired shape of each node.TimeAndVerticalScalingConfig.Builder
timeRecurrence(String timeRecurrence)
Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action.
-
-
-
Method Detail
-
timeRecurrence
public 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
-
targetShape
public 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
-
targetOcpusPerNode
public 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
-
targetMemoryPerNode
public 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
-
build
public TimeAndVerticalScalingConfig build()
-
copy
public TimeAndVerticalScalingConfig.Builder copy(TimeAndVerticalScalingConfig model)
-
-