public final class Snapshot
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 Dataflow 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.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Snapshot() |
Modifier and Type | Method and Description |
---|---|
Snapshot |
clone() |
String |
getCreationTime()
The time this snapshot was created.
|
String |
getId()
The unique ID of this snapshot.
|
String |
getProjectId()
The project this snapshot belongs to.
|
String |
getSourceJobId()
The job this snapshot was created from.
|
String |
getTtl()
The time after which this snapshot will be automatically deleted.
|
Snapshot |
set(String fieldName,
Object value) |
Snapshot |
setCreationTime(String creationTime)
The time this snapshot was created.
|
Snapshot |
setId(String id)
The unique ID of this snapshot.
|
Snapshot |
setProjectId(String projectId)
The project this snapshot belongs to.
|
Snapshot |
setSourceJobId(String sourceJobId)
The job this snapshot was created from.
|
Snapshot |
setTtl(String ttl)
The time after which this snapshot will be automatically deleted.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String getCreationTime()
null
for nonepublic Snapshot setCreationTime(String creationTime)
creationTime
- creationTime or null
for nonepublic String getId()
null
for nonepublic Snapshot setId(String id)
id
- id or null
for nonepublic String getProjectId()
null
for nonepublic Snapshot setProjectId(String projectId)
projectId
- projectId or null
for nonepublic String getSourceJobId()
null
for nonepublic Snapshot setSourceJobId(String sourceJobId)
sourceJobId
- sourceJobId or null
for nonepublic String getTtl()
null
for nonepublic Snapshot setTtl(String ttl)
ttl
- ttl or null
for nonepublic Snapshot set(String fieldName, Object value)
set
in class com.google.api.client.json.GenericJson
public Snapshot clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2019 Google. All rights reserved.