public final class TransferSpec
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 |
|---|
TransferSpec() |
| Modifier and Type | Method and Description |
|---|---|
TransferSpec |
clone() |
AwsS3CompatibleData |
getAwsS3CompatibleDataSource()
An AWS S3 compatible data source.
|
AwsS3Data |
getAwsS3DataSource()
An AWS S3 data source.
|
AzureBlobStorageData |
getAzureBlobStorageDataSource()
An Azure Blob Storage data source.
|
GcsData |
getGcsDataSink()
A Cloud Storage data sink.
|
GcsData |
getGcsDataSource()
A Cloud Storage data source.
|
GcsData |
getGcsIntermediateDataLocation()
For transfers between file systems, specifies a Cloud Storage bucket to be used as an
intermediate location through which to transfer data.
|
HdfsData |
getHdfsDataSource()
An HDFS cluster data source.
|
HttpData |
getHttpDataSource()
An HTTP URL data source.
|
ObjectConditions |
getObjectConditions()
Only objects that satisfy these object conditions are included in the set of data source and
data sink objects.
|
PosixFilesystem |
getPosixDataSink()
A POSIX Filesystem data sink.
|
PosixFilesystem |
getPosixDataSource()
A POSIX Filesystem data source.
|
String |
getSinkAgentPoolName()
Specifies the agent pool name associated with the posix data sink.
|
String |
getSourceAgentPoolName()
Specifies the agent pool name associated with the posix data source.
|
TransferManifest |
getTransferManifest()
A manifest file provides a list of objects to be transferred from the data source.
|
TransferOptions |
getTransferOptions()
If the option delete_objects_unique_in_sink is `true` and time-based object conditions such as
'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.
|
TransferSpec |
set(String fieldName,
Object value) |
TransferSpec |
setAwsS3CompatibleDataSource(AwsS3CompatibleData awsS3CompatibleDataSource)
An AWS S3 compatible data source.
|
TransferSpec |
setAwsS3DataSource(AwsS3Data awsS3DataSource)
An AWS S3 data source.
|
TransferSpec |
setAzureBlobStorageDataSource(AzureBlobStorageData azureBlobStorageDataSource)
An Azure Blob Storage data source.
|
TransferSpec |
setGcsDataSink(GcsData gcsDataSink)
A Cloud Storage data sink.
|
TransferSpec |
setGcsDataSource(GcsData gcsDataSource)
A Cloud Storage data source.
|
TransferSpec |
setGcsIntermediateDataLocation(GcsData gcsIntermediateDataLocation)
For transfers between file systems, specifies a Cloud Storage bucket to be used as an
intermediate location through which to transfer data.
|
TransferSpec |
setHdfsDataSource(HdfsData hdfsDataSource)
An HDFS cluster data source.
|
TransferSpec |
setHttpDataSource(HttpData httpDataSource)
An HTTP URL data source.
|
TransferSpec |
setObjectConditions(ObjectConditions objectConditions)
Only objects that satisfy these object conditions are included in the set of data source and
data sink objects.
|
TransferSpec |
setPosixDataSink(PosixFilesystem posixDataSink)
A POSIX Filesystem data sink.
|
TransferSpec |
setPosixDataSource(PosixFilesystem posixDataSource)
A POSIX Filesystem data source.
|
TransferSpec |
setSinkAgentPoolName(String sinkAgentPoolName)
Specifies the agent pool name associated with the posix data sink.
|
TransferSpec |
setSourceAgentPoolName(String sourceAgentPoolName)
Specifies the agent pool name associated with the posix data source.
|
TransferSpec |
setTransferManifest(TransferManifest transferManifest)
A manifest file provides a list of objects to be transferred from the data source.
|
TransferSpec |
setTransferOptions(TransferOptions transferOptions)
If the option delete_objects_unique_in_sink is `true` and time-based object conditions such as
'last modification time' are specified, the request fails with an INVALID_ARGUMENT error.
|
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 AwsS3CompatibleData getAwsS3CompatibleDataSource()
null for nonepublic TransferSpec setAwsS3CompatibleDataSource(AwsS3CompatibleData awsS3CompatibleDataSource)
awsS3CompatibleDataSource - awsS3CompatibleDataSource or null for nonepublic AwsS3Data getAwsS3DataSource()
null for nonepublic TransferSpec setAwsS3DataSource(AwsS3Data awsS3DataSource)
awsS3DataSource - awsS3DataSource or null for nonepublic AzureBlobStorageData getAzureBlobStorageDataSource()
null for nonepublic TransferSpec setAzureBlobStorageDataSource(AzureBlobStorageData azureBlobStorageDataSource)
azureBlobStorageDataSource - azureBlobStorageDataSource or null for nonepublic GcsData getGcsDataSink()
null for nonepublic TransferSpec setGcsDataSink(GcsData gcsDataSink)
gcsDataSink - gcsDataSink or null for nonepublic GcsData getGcsDataSource()
null for nonepublic TransferSpec setGcsDataSource(GcsData gcsDataSource)
gcsDataSource - gcsDataSource or null for nonepublic GcsData getGcsIntermediateDataLocation()
null for nonepublic TransferSpec setGcsIntermediateDataLocation(GcsData gcsIntermediateDataLocation)
gcsIntermediateDataLocation - gcsIntermediateDataLocation or null for nonepublic HdfsData getHdfsDataSource()
null for nonepublic TransferSpec setHdfsDataSource(HdfsData hdfsDataSource)
hdfsDataSource - hdfsDataSource or null for nonepublic HttpData getHttpDataSource()
null for nonepublic TransferSpec setHttpDataSource(HttpData httpDataSource)
httpDataSource - httpDataSource or null for nonepublic ObjectConditions getObjectConditions()
null for nonepublic TransferSpec setObjectConditions(ObjectConditions objectConditions)
objectConditions - objectConditions or null for nonepublic PosixFilesystem getPosixDataSink()
null for nonepublic TransferSpec setPosixDataSink(PosixFilesystem posixDataSink)
posixDataSink - posixDataSink or null for nonepublic PosixFilesystem getPosixDataSource()
null for nonepublic TransferSpec setPosixDataSource(PosixFilesystem posixDataSource)
posixDataSource - posixDataSource or null for nonepublic String getSinkAgentPoolName()
null for nonepublic TransferSpec setSinkAgentPoolName(String sinkAgentPoolName)
sinkAgentPoolName - sinkAgentPoolName or null for nonepublic String getSourceAgentPoolName()
null for nonepublic TransferSpec setSourceAgentPoolName(String sourceAgentPoolName)
sourceAgentPoolName - sourceAgentPoolName or null for nonepublic TransferManifest getTransferManifest()
null for nonepublic TransferSpec setTransferManifest(TransferManifest transferManifest)
transferManifest - transferManifest or null for nonepublic TransferOptions getTransferOptions()
null for nonepublic TransferSpec setTransferOptions(TransferOptions transferOptions)
transferOptions - transferOptions or null for nonepublic TransferSpec set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TransferSpec clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.