public final class Tier
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 Cloud SQL Admin 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Tier() |
| Modifier and Type | Method and Description |
|---|---|
Tier |
clone() |
Long |
getDiskQuota()
The maximum disk size of this tier in bytes.
|
String |
getKind()
This is always `sql#tier`.
|
Long |
getRAM()
The maximum RAM usage of this tier in bytes.
|
List<String> |
getRegion()
The applicable regions for this tier.
|
String |
getTier()
An identifier for the machine type, for example, `db-custom-1-3840`.
|
Tier |
set(String fieldName,
Object value) |
Tier |
setDiskQuota(Long diskQuota)
The maximum disk size of this tier in bytes.
|
Tier |
setKind(String kind)
This is always `sql#tier`.
|
Tier |
setRAM(Long rAM)
The maximum RAM usage of this tier in bytes.
|
Tier |
setRegion(List<String> region)
The applicable regions for this tier.
|
Tier |
setTier(String tier)
An identifier for the machine type, for example, `db-custom-1-3840`.
|
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 Long getDiskQuota()
null for nonepublic Tier setDiskQuota(Long diskQuota)
diskQuota - diskQuota or null for nonepublic Long getRAM()
null for nonepublic Tier setRAM(Long rAM)
rAM - rAM or null for nonepublic String getKind()
null for nonepublic Tier setKind(String kind)
kind - kind or null for nonepublic List<String> getRegion()
null for nonepublic Tier setRegion(List<String> region)
region - region or null for nonepublic String getTier()
null for nonepublic Tier setTier(String tier)
tier - tier or null for nonepublic Tier set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Tier clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.