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
Constructor and Description |
---|
Snapshot() |
Modifier and Type | Method and Description |
---|---|
Snapshot |
clone() |
java.lang.String |
getCreationTime()
The time this snapshot was created.
|
java.lang.String |
getId()
The unique ID of this snapshot.
|
java.lang.String |
getProjectId()
The project this snapshot belongs to.
|
java.lang.String |
getSourceJobId()
The job this snapshot was created from.
|
java.lang.String |
getTtl()
The time after which this snapshot will be automatically deleted.
|
Snapshot |
set(java.lang.String fieldName,
java.lang.Object value) |
Snapshot |
setCreationTime(java.lang.String creationTime)
The time this snapshot was created.
|
Snapshot |
setId(java.lang.String id)
The unique ID of this snapshot.
|
Snapshot |
setProjectId(java.lang.String projectId)
The project this snapshot belongs to.
|
Snapshot |
setSourceJobId(java.lang.String sourceJobId)
The job this snapshot was created from.
|
Snapshot |
setTtl(java.lang.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
public java.lang.String getCreationTime()
null
for nonepublic Snapshot setCreationTime(java.lang.String creationTime)
creationTime
- creationTime or null
for nonepublic java.lang.String getId()
null
for nonepublic Snapshot setId(java.lang.String id)
id
- id or null
for nonepublic java.lang.String getProjectId()
null
for nonepublic Snapshot setProjectId(java.lang.String projectId)
projectId
- projectId or null
for nonepublic java.lang.String getSourceJobId()
null
for nonepublic Snapshot setSourceJobId(java.lang.String sourceJobId)
sourceJobId
- sourceJobId or null
for nonepublic java.lang.String getTtl()
null
for nonepublic Snapshot setTtl(java.lang.String ttl)
ttl
- ttl or null
for nonepublic Snapshot set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public Snapshot clone()
clone
in class com.google.api.client.json.GenericJson