public final class LocationPreference
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.Flags
Constructor and Description |
---|
LocationPreference() |
Modifier and Type | Method and Description |
---|---|
LocationPreference |
clone() |
java.lang.String |
getFollowGaeApplication()
The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.
|
java.lang.String |
getKind()
This is always sql#locationPreference.
|
java.lang.String |
getZone()
The preferred Compute Engine zone (e.g.
|
LocationPreference |
set(java.lang.String fieldName,
java.lang.Object value) |
LocationPreference |
setFollowGaeApplication(java.lang.String followGaeApplication)
The AppEngine application to follow, it must be in the same region as the Cloud SQL instance.
|
LocationPreference |
setKind(java.lang.String kind)
This is always sql#locationPreference.
|
LocationPreference |
setZone(java.lang.String zone)
The preferred Compute Engine zone (e.g.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public java.lang.String getFollowGaeApplication()
null
for nonepublic LocationPreference setFollowGaeApplication(java.lang.String followGaeApplication)
followGaeApplication
- followGaeApplication or null
for nonepublic java.lang.String getKind()
null
for nonepublic LocationPreference setKind(java.lang.String kind)
kind
- kind or null
for nonepublic java.lang.String getZone()
null
for nonepublic LocationPreference setZone(java.lang.String zone)
zone
- zone or null
for nonepublic LocationPreference set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public LocationPreference clone()
clone
in class com.google.api.client.json.GenericJson