public final class ContainerSpec 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ContainerSpec() |
| Modifier and Type | Method and Description |
|---|---|
ContainerSpec |
clone() |
FlexTemplateRuntimeEnvironment |
getDefaultEnvironment()
Default runtime environment for the job.
|
String |
getImage()
Name of the docker container image.
|
TemplateMetadata |
getMetadata()
Metadata describing a template including description and validation rules.
|
SDKInfo |
getSdkInfo()
Required.
|
ContainerSpec |
set(String fieldName,
Object value) |
ContainerSpec |
setDefaultEnvironment(FlexTemplateRuntimeEnvironment defaultEnvironment)
Default runtime environment for the job.
|
ContainerSpec |
setImage(String image)
Name of the docker container image.
|
ContainerSpec |
setMetadata(TemplateMetadata metadata)
Metadata describing a template including description and validation rules.
|
ContainerSpec |
setSdkInfo(SDKInfo sdkInfo)
Required.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic FlexTemplateRuntimeEnvironment getDefaultEnvironment()
null for nonepublic ContainerSpec setDefaultEnvironment(FlexTemplateRuntimeEnvironment defaultEnvironment)
defaultEnvironment - defaultEnvironment or null for nonepublic String getImage()
null for nonepublic ContainerSpec setImage(String image)
image - image or null for nonepublic TemplateMetadata getMetadata()
null for nonepublic ContainerSpec setMetadata(TemplateMetadata metadata)
metadata - metadata or null for nonepublic SDKInfo getSdkInfo()
null for nonepublic ContainerSpec setSdkInfo(SDKInfo sdkInfo)
sdkInfo - sdkInfo or null for nonepublic ContainerSpec set(String fieldName, Object value)
set in class GenericJsonpublic ContainerSpec clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.