public final class TransferJob
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 |
|---|
TransferJob() |
| Modifier and Type | Method and Description |
|---|---|
TransferJob |
clone() |
String |
getCreationTime()
Output only.
|
String |
getDeletionTime()
Output only.
|
String |
getDescription()
A description provided by the user for the job.
|
EventStream |
getEventStream()
Specifies the event stream for the transfer job for event-driven transfers.
|
String |
getLastModificationTime()
Output only.
|
String |
getLatestOperationName()
The name of the most recently started TransferOperation of this JobConfig.
|
LoggingConfig |
getLoggingConfig()
Logging configuration.
|
String |
getName()
A unique name (within the transfer project) assigned when the job is created.
|
NotificationConfig |
getNotificationConfig()
Notification configuration.
|
String |
getProjectId()
The ID of the Google Cloud project that owns the job.
|
ReplicationSpec |
getReplicationSpec()
Replication specification.
|
Schedule |
getSchedule()
Specifies schedule for the transfer job.
|
String |
getStatus()
Status of the job.
|
TransferSpec |
getTransferSpec()
Transfer specification.
|
TransferJob |
set(String fieldName,
Object value) |
TransferJob |
setCreationTime(String creationTime)
Output only.
|
TransferJob |
setDeletionTime(String deletionTime)
Output only.
|
TransferJob |
setDescription(String description)
A description provided by the user for the job.
|
TransferJob |
setEventStream(EventStream eventStream)
Specifies the event stream for the transfer job for event-driven transfers.
|
TransferJob |
setLastModificationTime(String lastModificationTime)
Output only.
|
TransferJob |
setLatestOperationName(String latestOperationName)
The name of the most recently started TransferOperation of this JobConfig.
|
TransferJob |
setLoggingConfig(LoggingConfig loggingConfig)
Logging configuration.
|
TransferJob |
setName(String name)
A unique name (within the transfer project) assigned when the job is created.
|
TransferJob |
setNotificationConfig(NotificationConfig notificationConfig)
Notification configuration.
|
TransferJob |
setProjectId(String projectId)
The ID of the Google Cloud project that owns the job.
|
TransferJob |
setReplicationSpec(ReplicationSpec replicationSpec)
Replication specification.
|
TransferJob |
setSchedule(Schedule schedule)
Specifies schedule for the transfer job.
|
TransferJob |
setStatus(String status)
Status of the job.
|
TransferJob |
setTransferSpec(TransferSpec transferSpec)
Transfer specification.
|
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 getCreationTime()
null for nonepublic TransferJob setCreationTime(String creationTime)
creationTime - creationTime or null for nonepublic String getDeletionTime()
null for nonepublic TransferJob setDeletionTime(String deletionTime)
deletionTime - deletionTime or null for nonepublic String getDescription()
null for nonepublic TransferJob setDescription(String description)
description - description or null for nonepublic EventStream getEventStream()
null for nonepublic TransferJob setEventStream(EventStream eventStream)
eventStream - eventStream or null for nonepublic String getLastModificationTime()
null for nonepublic TransferJob setLastModificationTime(String lastModificationTime)
lastModificationTime - lastModificationTime or null for nonepublic String getLatestOperationName()
null for nonepublic TransferJob setLatestOperationName(String latestOperationName)
latestOperationName - latestOperationName or null for nonepublic LoggingConfig getLoggingConfig()
null for nonepublic TransferJob setLoggingConfig(LoggingConfig loggingConfig)
loggingConfig - loggingConfig or null for nonepublic String getName()
null for nonepublic TransferJob setName(String name)
name - name or null for nonepublic NotificationConfig getNotificationConfig()
null for nonepublic TransferJob setNotificationConfig(NotificationConfig notificationConfig)
notificationConfig - notificationConfig or null for nonepublic String getProjectId()
null for nonepublic TransferJob setProjectId(String projectId)
projectId - projectId or null for nonepublic ReplicationSpec getReplicationSpec()
null for nonepublic TransferJob setReplicationSpec(ReplicationSpec replicationSpec)
replicationSpec - replicationSpec or null for nonepublic Schedule getSchedule()
null for nonepublic TransferJob setSchedule(Schedule schedule)
schedule - schedule or null for nonepublic String getStatus()
null for nonepublic TransferJob setStatus(String status)
status - status or null for nonepublic TransferSpec getTransferSpec()
null for nonepublic TransferJob setTransferSpec(TransferSpec transferSpec)
transferSpec - transferSpec or null for nonepublic TransferJob set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic TransferJob clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.