public final class ReplicationSpec
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 Storage Transfer 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 |
|---|
ReplicationSpec() |
| Modifier and Type | Method and Description |
|---|---|
ReplicationSpec |
clone() |
GcsData |
getGcsDataSink()
Specifies cloud Storage data sink.
|
GcsData |
getGcsDataSource()
Specifies cloud Storage data source.
|
ObjectConditions |
getObjectConditions()
Specifies the object conditions to only include objects that satisfy these conditions in the
set of data source objects.
|
TransferOptions |
getTransferOptions()
Specifies the actions to be performed on the object during replication.
|
ReplicationSpec |
set(String fieldName,
Object value) |
ReplicationSpec |
setGcsDataSink(GcsData gcsDataSink)
Specifies cloud Storage data sink.
|
ReplicationSpec |
setGcsDataSource(GcsData gcsDataSource)
Specifies cloud Storage data source.
|
ReplicationSpec |
setObjectConditions(ObjectConditions objectConditions)
Specifies the object conditions to only include objects that satisfy these conditions in the
set of data source objects.
|
ReplicationSpec |
setTransferOptions(TransferOptions transferOptions)
Specifies the actions to be performed on the object during replication.
|
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 GcsData getGcsDataSink()
null for nonepublic ReplicationSpec setGcsDataSink(GcsData gcsDataSink)
gcsDataSink - gcsDataSink or null for nonepublic GcsData getGcsDataSource()
null for nonepublic ReplicationSpec setGcsDataSource(GcsData gcsDataSource)
gcsDataSource - gcsDataSource or null for nonepublic ObjectConditions getObjectConditions()
null for nonepublic ReplicationSpec setObjectConditions(ObjectConditions objectConditions)
objectConditions - objectConditions or null for nonepublic TransferOptions getTransferOptions()
null for nonepublic ReplicationSpec setTransferOptions(TransferOptions transferOptions)
transferOptions - transferOptions or null for nonepublic ReplicationSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ReplicationSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.