Package com.oracle.bmc.bds.model
Class TimeAndHorizontalScalingConfig.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.TimeAndHorizontalScalingConfig.Builder
-
- Enclosing class:
- TimeAndHorizontalScalingConfig
public static class TimeAndHorizontalScalingConfig.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimeAndHorizontalScalingConfig
build()
TimeAndHorizontalScalingConfig.Builder
copy(TimeAndHorizontalScalingConfig model)
TimeAndHorizontalScalingConfig.Builder
targetNodeCount(Integer targetNodeCount)
This value is the desired number of nodes in the cluster.TimeAndHorizontalScalingConfig.Builder
timeRecurrence(String timeRecurrence)
Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action.
-
-
-
Method Detail
-
timeRecurrence
public TimeAndHorizontalScalingConfig.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
-
targetNodeCount
public TimeAndHorizontalScalingConfig.Builder targetNodeCount(Integer targetNodeCount)
This value is the desired number of nodes in the cluster.- Parameters:
targetNodeCount
- the value to set- Returns:
- this builder
-
build
public TimeAndHorizontalScalingConfig build()
-
copy
public TimeAndHorizontalScalingConfig.Builder copy(TimeAndHorizontalScalingConfig model)
-
-