target.apidocs.com.google.api.services.sqladmin.model.Tier.html Maven / Gradle / Ivy
Tier (Cloud SQL Admin API v1-rev20240925-2.0.0)
com.google.api.services.sqladmin.model
Class Tier
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.sqladmin.model.Tier
-
public final class Tier
extends com.google.api.client.json.GenericJson
A Google Cloud SQL service tier resource.
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
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
Tier()
-
Method Summary
All Methods Instance Methods Concrete Methods
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`.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getDiskQuota
public Long getDiskQuota()
The maximum disk size of this tier in bytes.
- Returns:
- value or
null
for none
-
setDiskQuota
public Tier setDiskQuota(Long diskQuota)
The maximum disk size of this tier in bytes.
- Parameters:
diskQuota
- diskQuota or null
for none
-
getRAM
public Long getRAM()
The maximum RAM usage of this tier in bytes.
- Returns:
- value or
null
for none
-
setRAM
public Tier setRAM(Long rAM)
The maximum RAM usage of this tier in bytes.
- Parameters:
rAM
- rAM or null
for none
-
getKind
public String getKind()
This is always `sql#tier`.
- Returns:
- value or
null
for none
-
setKind
public Tier setKind(String kind)
This is always `sql#tier`.
- Parameters:
kind
- kind or null
for none
-
getRegion
public List<String> getRegion()
The applicable regions for this tier.
- Returns:
- value or
null
for none
-
setRegion
public Tier setRegion(List<String> region)
The applicable regions for this tier.
- Parameters:
region
- region or null
for none
-
getTier
public String getTier()
An identifier for the machine type, for example, `db-custom-1-3840`. For related information,
see [Pricing](/sql/pricing).
- Returns:
- value or
null
for none
-
setTier
public Tier setTier(String tier)
An identifier for the machine type, for example, `db-custom-1-3840`. For related information,
see [Pricing](/sql/pricing).
- Parameters:
tier
- tier or null
for none
-
set
public Tier set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public Tier clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.