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 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 |
---|
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.
|
Map<String,String> |
getTransformNameMapping()
Only applicable when updating a pipeline.
|
Boolean |
getUpdate()
If set, replace the existing pipeline with the name specified by jobName with this pipeline,
preserving state.
|
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.
|
LaunchTemplateParameters |
setTransformNameMapping(Map<String,String> transformNameMapping)
Only applicable when updating a pipeline.
|
LaunchTemplateParameters |
setUpdate(Boolean update)
If set, replace the existing pipeline with the name specified by jobName with this pipeline,
preserving state.
|
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 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 Map<String,String> getTransformNameMapping()
null
for nonepublic LaunchTemplateParameters setTransformNameMapping(Map<String,String> transformNameMapping)
transformNameMapping
- transformNameMapping or null
for nonepublic Boolean getUpdate()
null
for nonepublic LaunchTemplateParameters setUpdate(Boolean update)
update
- update or null
for nonepublic LaunchTemplateParameters set(String fieldName, Object value)
set
in class GenericJson
public LaunchTemplateParameters clone()
clone
in class GenericJson
Copyright © 2011–2019 Google. All rights reserved.