public final class CreateJobFromTemplateRequest 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: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CreateJobFromTemplateRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobFromTemplateRequest |
clone() |
RuntimeEnvironment |
getEnvironment()
The runtime environment for the job.
|
String |
getGcsPath()
Required.
|
String |
getJobName()
Required.
|
String |
getLocation()
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request.
|
Map<String,String> |
getParameters()
The runtime parameters to pass to the job.
|
CreateJobFromTemplateRequest |
set(String fieldName,
Object value) |
CreateJobFromTemplateRequest |
setEnvironment(RuntimeEnvironment environment)
The runtime environment for the job.
|
CreateJobFromTemplateRequest |
setGcsPath(String gcsPath)
Required.
|
CreateJobFromTemplateRequest |
setJobName(String jobName)
Required.
|
CreateJobFromTemplateRequest |
setLocation(String location)
The [regional endpoint] (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
which to direct the request.
|
CreateJobFromTemplateRequest |
setParameters(Map<String,String> parameters)
The runtime parameters to pass to the job.
|
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 RuntimeEnvironment getEnvironment()
null
for nonepublic CreateJobFromTemplateRequest setEnvironment(RuntimeEnvironment environment)
environment
- environment or null
for nonepublic String getGcsPath()
null
for nonepublic CreateJobFromTemplateRequest setGcsPath(String gcsPath)
gcsPath
- gcsPath or null
for nonepublic String getJobName()
null
for nonepublic CreateJobFromTemplateRequest setJobName(String jobName)
jobName
- jobName or null
for nonepublic String getLocation()
null
for nonepublic CreateJobFromTemplateRequest setLocation(String location)
location
- location or null
for nonepublic Map<String,String> getParameters()
null
for nonepublic CreateJobFromTemplateRequest setParameters(Map<String,String> parameters)
parameters
- parameters or null
for nonepublic CreateJobFromTemplateRequest set(String fieldName, Object value)
set
in class GenericJson
public CreateJobFromTemplateRequest clone()
clone
in class GenericJson