public final class Autoscaler 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 | 
|---|
Autoscaler()  | 
| Modifier and Type | Method and Description | 
|---|---|
Autoscaler | 
clone()  | 
AutoscalingPolicy | 
getAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm. 
 | 
String | 
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
String | 
getDescription()
An optional description of this resource. 
 | 
BigInteger | 
getId()
[Output Only] The unique identifier for the resource. 
 | 
String | 
getKind()
[Output Only] Type of the resource. 
 | 
String | 
getName()
Name of the resource. 
 | 
Integer | 
getRecommendedSize()
[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. 
 | 
String | 
getRegion()
[Output Only] URL of the region where the instance group resides (for autoscalers living in
 regional scope). 
 | 
Map<String,ScalingScheduleStatus> | 
getScalingScheduleStatus()
[Output Only] Status information of existing scaling schedules. 
 | 
String | 
getSelfLink()
[Output Only] Server-defined URL for the resource. 
 | 
String | 
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
String | 
getStatus()
[Output Only] The status of the autoscaler configuration. 
 | 
List<AutoscalerStatusDetails> | 
getStatusDetails()
[Output Only] Human-readable details about the current state of the autoscaler. 
 | 
String | 
getTarget()
URL of the managed instance group that this autoscaler will scale. 
 | 
String | 
getZone()
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal
 scope). 
 | 
Autoscaler | 
set(String fieldName,
   Object value)  | 
Autoscaler | 
setAutoscalingPolicy(AutoscalingPolicy autoscalingPolicy)
The configuration parameters for the autoscaling algorithm. 
 | 
Autoscaler | 
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format. 
 | 
Autoscaler | 
setDescription(String description)
An optional description of this resource. 
 | 
Autoscaler | 
setId(BigInteger id)
[Output Only] The unique identifier for the resource. 
 | 
Autoscaler | 
setKind(String kind)
[Output Only] Type of the resource. 
 | 
Autoscaler | 
setName(String name)
Name of the resource. 
 | 
Autoscaler | 
setRecommendedSize(Integer recommendedSize)
[Output Only] Target recommended MIG size (number of instances) computed by autoscaler. 
 | 
Autoscaler | 
setRegion(String region)
[Output Only] URL of the region where the instance group resides (for autoscalers living in
 regional scope). 
 | 
Autoscaler | 
setScalingScheduleStatus(Map<String,ScalingScheduleStatus> scalingScheduleStatus)
[Output Only] Status information of existing scaling schedules. 
 | 
Autoscaler | 
setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource. 
 | 
Autoscaler | 
setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id. 
 | 
Autoscaler | 
setStatus(String status)
[Output Only] The status of the autoscaler configuration. 
 | 
Autoscaler | 
setStatusDetails(List<AutoscalerStatusDetails> statusDetails)
[Output Only] Human-readable details about the current state of the autoscaler. 
 | 
Autoscaler | 
setTarget(String target)
URL of the managed instance group that this autoscaler will scale. 
 | 
Autoscaler | 
setZone(String zone)
[Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal
 scope). 
 | 
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 AutoscalingPolicy getAutoscalingPolicy()
null for nonepublic Autoscaler setAutoscalingPolicy(AutoscalingPolicy autoscalingPolicy)
autoscalingPolicy - autoscalingPolicy or null for nonepublic String getCreationTimestamp()
null for nonepublic Autoscaler setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic Autoscaler setDescription(String description)
description - description or null for nonepublic BigInteger getId()
null for nonepublic Autoscaler setId(BigInteger id)
id - id or null for nonepublic String getKind()
null for nonepublic Autoscaler setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic Autoscaler setName(String name)
name - name or null for nonepublic Integer getRecommendedSize()
null for nonepublic Autoscaler setRecommendedSize(Integer recommendedSize)
recommendedSize - recommendedSize or null for nonepublic String getRegion()
null for nonepublic Autoscaler setRegion(String region)
region - region or null for nonepublic Map<String,ScalingScheduleStatus> getScalingScheduleStatus()
null for nonepublic Autoscaler setScalingScheduleStatus(Map<String,ScalingScheduleStatus> scalingScheduleStatus)
scalingScheduleStatus - scalingScheduleStatus or null for nonepublic String getSelfLink()
null for nonepublic Autoscaler setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getSelfLinkWithId()
null for nonepublic Autoscaler setSelfLinkWithId(String selfLinkWithId)
selfLinkWithId - selfLinkWithId or null for nonepublic String getStatus()
null for nonepublic Autoscaler setStatus(String status)
status - status or null for nonepublic List<AutoscalerStatusDetails> getStatusDetails()
null for nonepublic Autoscaler setStatusDetails(List<AutoscalerStatusDetails> statusDetails)
statusDetails - statusDetails or null for nonepublic String getTarget()
null for nonepublic Autoscaler setTarget(String target)
target - target or null for nonepublic String getZone()
null for nonepublic Autoscaler setZone(String zone)
zone - zone or null for nonepublic Autoscaler set(String fieldName, Object value)
set in class GenericJsonpublic Autoscaler clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.