public final class Action 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 Genomics 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 |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
Action |
clone() |
List<String> |
getCommands()
If specified, overrides the `CMD` specified in the container.
|
Secret |
getCredentials()
If the specified image is hosted on a private registry other than Google Container Registry,
the credentials required to pull the image must be specified here as an encrypted secret.
|
String |
getEntrypoint()
If specified, overrides the `ENTRYPOINT` specified in the container.
|
Map<String,String> |
getEnvironment()
The environment to pass into the container.
|
List<String> |
getFlags()
The set of flags to apply to this action.
|
String |
getImageUri()
Required.
|
Map<String,String> |
getLabels()
Labels to associate with the action.
|
List<Mount> |
getMounts()
A list of mounts to make available to the action.
|
String |
getName()
An optional name for the container.
|
String |
getPidNamespace()
An optional identifier for a PID namespace to run the action inside.
|
Map<String,Integer> |
getPortMappings()
A map of containers to host port mappings for this container.
|
String |
getTimeout()
The maximum amount of time to give the action to complete.
|
Action |
set(String fieldName,
Object value) |
Action |
setCommands(List<String> commands)
If specified, overrides the `CMD` specified in the container.
|
Action |
setCredentials(Secret credentials)
If the specified image is hosted on a private registry other than Google Container Registry,
the credentials required to pull the image must be specified here as an encrypted secret.
|
Action |
setEntrypoint(String entrypoint)
If specified, overrides the `ENTRYPOINT` specified in the container.
|
Action |
setEnvironment(Map<String,String> environment)
The environment to pass into the container.
|
Action |
setFlags(List<String> flags)
The set of flags to apply to this action.
|
Action |
setImageUri(String imageUri)
Required.
|
Action |
setLabels(Map<String,String> labels)
Labels to associate with the action.
|
Action |
setMounts(List<Mount> mounts)
A list of mounts to make available to the action.
|
Action |
setName(String name)
An optional name for the container.
|
Action |
setPidNamespace(String pidNamespace)
An optional identifier for a PID namespace to run the action inside.
|
Action |
setPortMappings(Map<String,Integer> portMappings)
A map of containers to host port mappings for this container.
|
Action |
setTimeout(String timeout)
The maximum amount of time to give the action to complete.
|
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 List<String> getCommands()
null for nonepublic Action setCommands(List<String> commands)
commands - commands or null for nonepublic Secret getCredentials()
null for nonepublic Action setCredentials(Secret credentials)
credentials - credentials or null for nonepublic String getEntrypoint()
null for nonepublic Action setEntrypoint(String entrypoint)
entrypoint - entrypoint or null for nonepublic Map<String,String> getEnvironment()
null for nonepublic Action setEnvironment(Map<String,String> environment)
environment - environment or null for nonepublic List<String> getFlags()
null for nonepublic Action setFlags(List<String> flags)
flags - flags or null for nonepublic String getImageUri()
null for nonepublic Action setImageUri(String imageUri)
imageUri - imageUri or null for nonepublic Map<String,String> getLabels()
null for nonepublic Action setLabels(Map<String,String> labels)
labels - labels or null for nonepublic List<Mount> getMounts()
null for nonepublic Action setMounts(List<Mount> mounts)
mounts - mounts or null for nonepublic String getName()
null for nonepublic Action setName(String name)
name - name or null for nonepublic String getPidNamespace()
null for nonepublic Action setPidNamespace(String pidNamespace)
pidNamespace - pidNamespace or null for nonepublic Map<String,Integer> getPortMappings()
null for nonepublic Action setPortMappings(Map<String,Integer> portMappings)
portMappings - portMappings or null for nonepublic String getTimeout()
null for nonepublic Action setTimeout(String timeout)
timeout - timeout or null for nonepublic Action set(String fieldName, Object value)
set in class GenericJsonpublic Action clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.