public final class AutoscalingPolicyScalingSchedule extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
AutoscalingPolicyScalingSchedule()  | 
| Modifier and Type | Method and Description | 
|---|---|
AutoscalingPolicyScalingSchedule | 
clone()  | 
String | 
getDescription()
A description of a scaling schedule. 
 | 
Boolean | 
getDisabled()
A boolean value that specifies if a scaling schedule can influence autoscaler recommendations. 
 | 
Integer | 
getDurationSec()
The duration of time intervals (in seconds) for which this scaling schedule will be running. 
 | 
Integer | 
getMinRequiredReplicas()
Minimum number of VM instances that autoscaler will recommend in time intervals starting
 according to schedule. 
 | 
String | 
getSchedule()
The start timestamps of time intervals when this scaling schedule should provide a scaling
 signal. 
 | 
String | 
getTimeZone()
The time zone to be used when interpreting the schedule. 
 | 
AutoscalingPolicyScalingSchedule | 
set(String fieldName,
   Object value)  | 
AutoscalingPolicyScalingSchedule | 
setDescription(String description)
A description of a scaling schedule. 
 | 
AutoscalingPolicyScalingSchedule | 
setDisabled(Boolean disabled)
A boolean value that specifies if a scaling schedule can influence autoscaler recommendations. 
 | 
AutoscalingPolicyScalingSchedule | 
setDurationSec(Integer durationSec)
The duration of time intervals (in seconds) for which this scaling schedule will be running. 
 | 
AutoscalingPolicyScalingSchedule | 
setMinRequiredReplicas(Integer minRequiredReplicas)
Minimum number of VM instances that autoscaler will recommend in time intervals starting
 according to schedule. 
 | 
AutoscalingPolicyScalingSchedule | 
setSchedule(String schedule)
The start timestamps of time intervals when this scaling schedule should provide a scaling
 signal. 
 | 
AutoscalingPolicyScalingSchedule | 
setTimeZone(String timeZone)
The time zone to be used when interpreting the schedule. 
 | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDescription()
null for nonepublic AutoscalingPolicyScalingSchedule setDescription(String description)
description - description or null for nonepublic Boolean getDisabled()
null for nonepublic AutoscalingPolicyScalingSchedule setDisabled(Boolean disabled)
disabled - disabled or null for nonepublic Integer getDurationSec()
null for nonepublic AutoscalingPolicyScalingSchedule setDurationSec(Integer durationSec)
durationSec - durationSec or null for nonepublic Integer getMinRequiredReplicas()
null for nonepublic AutoscalingPolicyScalingSchedule setMinRequiredReplicas(Integer minRequiredReplicas)
minRequiredReplicas - minRequiredReplicas or null for nonepublic String getSchedule()
null for nonepublic AutoscalingPolicyScalingSchedule setSchedule(String schedule)
schedule - schedule or null for nonepublic String getTimeZone()
null for nonepublic AutoscalingPolicyScalingSchedule setTimeZone(String timeZone)
timeZone - timeZone or null for nonepublic AutoscalingPolicyScalingSchedule set(String fieldName, Object value)
set in class GenericJsonpublic AutoscalingPolicyScalingSchedule clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.