public static class TimeAndVerticalScalingConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
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.
timeRecurrence
- the value to setpublic 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.
targetShape
- the value to setpublic 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.
targetOcpusPerNode
- the value to setpublic 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.
targetMemoryPerNode
- the value to setpublic TimeAndVerticalScalingConfig build()
public TimeAndVerticalScalingConfig.Builder copy(TimeAndVerticalScalingConfig model)
Copyright © 2016–2024. All rights reserved.