public final class LaunchTemplateParameters 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 Google 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 |
---|
LaunchTemplateParameters() |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateParameters |
clone() |
RuntimeEnvironment |
getEnvironment()
The runtime environment for the job.
|
String |
getJobName()
Required.
|
Map<String,String> |
getParameters()
The runtime parameters to pass to the job.
|
LaunchTemplateParameters |
set(String fieldName,
Object value) |
LaunchTemplateParameters |
setEnvironment(RuntimeEnvironment environment)
The runtime environment for the job.
|
LaunchTemplateParameters |
setJobName(String jobName)
Required.
|
LaunchTemplateParameters |
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
public RuntimeEnvironment getEnvironment()
null
for nonepublic LaunchTemplateParameters setEnvironment(RuntimeEnvironment environment)
environment
- environment or null
for nonepublic String getJobName()
null
for nonepublic LaunchTemplateParameters setJobName(String jobName)
jobName
- jobName or null
for nonepublic Map<String,String> getParameters()
null
for nonepublic LaunchTemplateParameters setParameters(Map<String,String> parameters)
parameters
- parameters or null
for nonepublic LaunchTemplateParameters set(String fieldName, Object value)
set
in class GenericJson
public LaunchTemplateParameters clone()
clone
in class GenericJson