public final class CloneContext
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 |
|---|
CloneContext() |
| Modifier and Type | Method and Description |
|---|---|
CloneContext |
clone() |
String |
getAllocatedIpRange()
The name of the allocated ip range for the private ip Cloud SQL instance.
|
BinLogCoordinates |
getBinLogCoordinates()
Binary log coordinates, if specified, identify the position up to which the source instance is
cloned.
|
List<String> |
getDatabaseNames()
(SQL Server only) Clone only the specified databases from the source instance.
|
String |
getDestinationInstanceName()
Name of the Cloud SQL instance to be created as a clone.
|
String |
getKind()
This is always `sql#cloneContext`.
|
Long |
getPitrTimestampMs()
Reserved for future use.
|
String |
getPointInTime()
Timestamp, if specified, identifies the time to which the source instance is cloned.
|
String |
getPreferredSecondaryZone()
Optional.
|
String |
getPreferredZone()
Optional.
|
CloneContext |
set(String fieldName,
Object value) |
CloneContext |
setAllocatedIpRange(String allocatedIpRange)
The name of the allocated ip range for the private ip Cloud SQL instance.
|
CloneContext |
setBinLogCoordinates(BinLogCoordinates binLogCoordinates)
Binary log coordinates, if specified, identify the position up to which the source instance is
cloned.
|
CloneContext |
setDatabaseNames(List<String> databaseNames)
(SQL Server only) Clone only the specified databases from the source instance.
|
CloneContext |
setDestinationInstanceName(String destinationInstanceName)
Name of the Cloud SQL instance to be created as a clone.
|
CloneContext |
setKind(String kind)
This is always `sql#cloneContext`.
|
CloneContext |
setPitrTimestampMs(Long pitrTimestampMs)
Reserved for future use.
|
CloneContext |
setPointInTime(String pointInTime)
Timestamp, if specified, identifies the time to which the source instance is cloned.
|
CloneContext |
setPreferredSecondaryZone(String preferredSecondaryZone)
Optional.
|
CloneContext |
setPreferredZone(String preferredZone)
Optional.
|
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 String getAllocatedIpRange()
null for nonepublic CloneContext setAllocatedIpRange(String allocatedIpRange)
allocatedIpRange - allocatedIpRange or null for nonepublic BinLogCoordinates getBinLogCoordinates()
null for nonepublic CloneContext setBinLogCoordinates(BinLogCoordinates binLogCoordinates)
binLogCoordinates - binLogCoordinates or null for nonepublic List<String> getDatabaseNames()
null for nonepublic CloneContext setDatabaseNames(List<String> databaseNames)
databaseNames - databaseNames or null for nonepublic String getDestinationInstanceName()
null for nonepublic CloneContext setDestinationInstanceName(String destinationInstanceName)
destinationInstanceName - destinationInstanceName or null for nonepublic String getKind()
null for nonepublic CloneContext setKind(String kind)
kind - kind or null for nonepublic Long getPitrTimestampMs()
null for nonepublic CloneContext setPitrTimestampMs(Long pitrTimestampMs)
pitrTimestampMs - pitrTimestampMs or null for nonepublic String getPointInTime()
null for nonepublic CloneContext setPointInTime(String pointInTime)
pointInTime - pointInTime or null for nonepublic String getPreferredSecondaryZone()
null for nonepublic CloneContext setPreferredSecondaryZone(String preferredSecondaryZone)
preferredSecondaryZone - preferredSecondaryZone or null for nonepublic String getPreferredZone()
null for nonepublic CloneContext setPreferredZone(String preferredZone)
preferredZone - preferredZone or null for nonepublic CloneContext set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic CloneContext clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.