public final class LaunchFlexTemplateParameter 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 |
---|
LaunchFlexTemplateParameter() |
Modifier and Type | Method and Description |
---|---|
LaunchFlexTemplateParameter |
clone() |
ContainerSpec |
getContainerSpec()
Spec about the container image to launch.
|
String |
getContainerSpecGcsPath()
Gcs path to a file with json serialized ContainerSpec as content.
|
String |
getJobName()
Required.
|
Map<String,String> |
getLaunchOptions()
Launch options for this flex template job.
|
Map<String,String> |
getParameters()
The parameters for FlexTemplate.
|
LaunchFlexTemplateParameter |
set(String fieldName,
Object value) |
LaunchFlexTemplateParameter |
setContainerSpec(ContainerSpec containerSpec)
Spec about the container image to launch.
|
LaunchFlexTemplateParameter |
setContainerSpecGcsPath(String containerSpecGcsPath)
Gcs path to a file with json serialized ContainerSpec as content.
|
LaunchFlexTemplateParameter |
setJobName(String jobName)
Required.
|
LaunchFlexTemplateParameter |
setLaunchOptions(Map<String,String> launchOptions)
Launch options for this flex template job.
|
LaunchFlexTemplateParameter |
setParameters(Map<String,String> parameters)
The parameters for FlexTemplate.
|
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 ContainerSpec getContainerSpec()
null
for nonepublic LaunchFlexTemplateParameter setContainerSpec(ContainerSpec containerSpec)
containerSpec
- containerSpec or null
for nonepublic String getContainerSpecGcsPath()
null
for nonepublic LaunchFlexTemplateParameter setContainerSpecGcsPath(String containerSpecGcsPath)
containerSpecGcsPath
- containerSpecGcsPath or null
for nonepublic String getJobName()
null
for nonepublic LaunchFlexTemplateParameter setJobName(String jobName)
jobName
- jobName or null
for nonepublic Map<String,String> getLaunchOptions()
null
for nonepublic LaunchFlexTemplateParameter setLaunchOptions(Map<String,String> launchOptions)
launchOptions
- launchOptions or null
for nonepublic Map<String,String> getParameters()
null
for nonepublic LaunchFlexTemplateParameter setParameters(Map<String,String> parameters)
parameters
- parameters or null
for nonepublic LaunchFlexTemplateParameter set(String fieldName, Object value)
set
in class GenericJson
public LaunchFlexTemplateParameter clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.