public static class TimeAndHorizontalScalingConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
timeRecurrence
- the value to setpublic TimeAndHorizontalScalingConfig.Builder targetNodeCount(Integer targetNodeCount)
This value is the desired number of nodes in the cluster.
targetNodeCount
- the value to setpublic TimeAndHorizontalScalingConfig build()
public TimeAndHorizontalScalingConfig.Builder copy(TimeAndHorizontalScalingConfig model)
Copyright © 2016–2024. All rights reserved.