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.Flags
AbstractMap.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, 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 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 GenericJson
public ContainerSpec clone()
clone
in class GenericJson
Copyright © 2011–2020 Google. All rights reserved.