public final class Autoscaler
extends com.google.api.client.json.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
com.google.api.client.util.GenericData.Flags| Constructor and Description |
|---|
Autoscaler() |
| Modifier and Type | Method and Description |
|---|---|
Autoscaler |
clone() |
AutoscalingPolicy |
getAutoscalingPolicy()
The configuration parameters for the autoscaling algorithm.
|
java.lang.String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
java.lang.String |
getDescription()
An optional description of this resource.
|
java.math.BigInteger |
getId()
[Output Only] The unique identifier for the resource.
|
java.lang.String |
getKind()
[Output Only] Type of the resource.
|
java.lang.String |
getName()
Name of the resource.
|
java.lang.String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
java.lang.String |
getTarget()
URL of the managed instance group that this autoscaler will scale.
|
java.lang.String |
getZone()
[Output Only] URL of the zone where the instance group resides.
|
Autoscaler |
set(java.lang.String fieldName,
java.lang.Object value) |
Autoscaler |
setAutoscalingPolicy(AutoscalingPolicy autoscalingPolicy)
The configuration parameters for the autoscaling algorithm.
|
Autoscaler |
setCreationTimestamp(java.lang.String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
Autoscaler |
setDescription(java.lang.String description)
An optional description of this resource.
|
Autoscaler |
setId(java.math.BigInteger id)
[Output Only] The unique identifier for the resource.
|
Autoscaler |
setKind(java.lang.String kind)
[Output Only] Type of the resource.
|
Autoscaler |
setName(java.lang.String name)
Name of the resource.
|
Autoscaler |
setSelfLink(java.lang.String selfLink)
[Output Only] Server-defined URL for the resource.
|
Autoscaler |
setTarget(java.lang.String target)
URL of the managed instance group that this autoscaler will scale.
|
Autoscaler |
setZone(java.lang.String zone)
[Output Only] URL of the zone where the instance group resides.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic AutoscalingPolicy getAutoscalingPolicy()
null for nonepublic Autoscaler setAutoscalingPolicy(AutoscalingPolicy autoscalingPolicy)
autoscalingPolicy - autoscalingPolicy or null for nonepublic java.lang.String getCreationTimestamp()
null for nonepublic Autoscaler setCreationTimestamp(java.lang.String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic java.lang.String getDescription()
null for nonepublic Autoscaler setDescription(java.lang.String description)
description - description or null for nonepublic java.math.BigInteger getId()
null for nonepublic Autoscaler setId(java.math.BigInteger id)
id - id or null for nonepublic java.lang.String getKind()
null for nonepublic Autoscaler setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.String getName()
null for nonepublic Autoscaler setName(java.lang.String name)
name - name or null for nonepublic java.lang.String getSelfLink()
null for nonepublic Autoscaler setSelfLink(java.lang.String selfLink)
selfLink - selfLink or null for nonepublic java.lang.String getTarget()
null for nonepublic Autoscaler setTarget(java.lang.String target)
target - target or null for nonepublic java.lang.String getZone()
null for nonepublic Autoscaler setZone(java.lang.String zone)
zone - zone or null for nonepublic Autoscaler set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic Autoscaler clone()
clone in class com.google.api.client.json.GenericJson