public final class SnapshotJobRequest extends 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 Dataflow API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SnapshotJobRequest() |
Modifier and Type | Method and Description |
---|---|
SnapshotJobRequest |
clone() |
String |
getDescription()
User specified description of the snapshot.
|
String |
getLocation()
The location that contains this job.
|
Boolean |
getSnapshotSources()
If true, perform snapshots for sources which support this.
|
String |
getTtl()
TTL for the snapshot.
|
SnapshotJobRequest |
set(String fieldName,
Object value) |
SnapshotJobRequest |
setDescription(String description)
User specified description of the snapshot.
|
SnapshotJobRequest |
setLocation(String location)
The location that contains this job.
|
SnapshotJobRequest |
setSnapshotSources(Boolean snapshotSources)
If true, perform snapshots for sources which support this.
|
SnapshotJobRequest |
setTtl(String ttl)
TTL for the snapshot.
|
getFactory, setFactory, toPrettyString, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getDescription()
null
for nonepublic SnapshotJobRequest setDescription(String description)
description
- description or null
for nonepublic String getLocation()
null
for nonepublic SnapshotJobRequest setLocation(String location)
location
- location or null
for nonepublic Boolean getSnapshotSources()
null
for nonepublic SnapshotJobRequest setSnapshotSources(Boolean snapshotSources)
snapshotSources
- snapshotSources or null
for nonepublic String getTtl()
null
for nonepublic SnapshotJobRequest setTtl(String ttl)
ttl
- ttl or null
for nonepublic SnapshotJobRequest set(String fieldName, Object value)
set
in class GenericJson
public SnapshotJobRequest clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.