target.apidocs.com.google.api.services.dataproc.model.SessionTemplate.html Maven / Gradle / Ivy
SessionTemplate (Cloud Dataproc API v1-rev20240605-2.0.0)
com.google.api.services.dataproc.model
Class SessionTemplate
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.dataproc.model.SessionTemplate
-
public final class SessionTemplate
extends com.google.api.client.json.GenericJson
A representation of a session template.
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 Cloud Dataproc API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
SessionTemplate()
-
Method Summary
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getCreateTime
public String getCreateTime()
Output only. The time when the template was created.
- Returns:
- value or
null
for none
-
setCreateTime
public SessionTemplate setCreateTime(String createTime)
Output only. The time when the template was created.
- Parameters:
createTime
- createTime or null
for none
-
getCreator
public String getCreator()
Output only. The email address of the user who created the template.
- Returns:
- value or
null
for none
-
setCreator
public SessionTemplate setCreator(String creator)
Output only. The email address of the user who created the template.
- Parameters:
creator
- creator or null
for none
-
getDescription
public String getDescription()
Optional. Brief description of the template.
- Returns:
- value or
null
for none
-
setDescription
public SessionTemplate setDescription(String description)
Optional. Brief description of the template.
- Parameters:
description
- description or null
for none
-
getEnvironmentConfig
public EnvironmentConfig getEnvironmentConfig()
Optional. Environment configuration for session execution.
- Returns:
- value or
null
for none
-
setEnvironmentConfig
public SessionTemplate setEnvironmentConfig(EnvironmentConfig environmentConfig)
Optional. Environment configuration for session execution.
- Parameters:
environmentConfig
- environmentConfig or null
for none
-
getJupyterSession
public JupyterConfig getJupyterSession()
Optional. Jupyter session config.
- Returns:
- value or
null
for none
-
setJupyterSession
public SessionTemplate setJupyterSession(JupyterConfig jupyterSession)
Optional. Jupyter session config.
- Parameters:
jupyterSession
- jupyterSession or null
for none
-
getLabels
public Map<String,String> getLabels()
Optional. Labels to associate with sessions created using this template. Label keys must
contain 1 to 63 characters, and must conform to RFC 1035
(https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must
contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No
more than 32 labels can be associated with a session.
- Returns:
- value or
null
for none
-
setLabels
public SessionTemplate setLabels(Map<String,String> labels)
Optional. Labels to associate with sessions created using this template. Label keys must
contain 1 to 63 characters, and must conform to RFC 1035
(https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must
contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No
more than 32 labels can be associated with a session.
- Parameters:
labels
- labels or null
for none
-
getName
public String getName()
Required. The resource name of the session template.
- Returns:
- value or
null
for none
-
setName
public SessionTemplate setName(String name)
Required. The resource name of the session template.
- Parameters:
name
- name or null
for none
-
getRuntimeConfig
public RuntimeConfig getRuntimeConfig()
Optional. Runtime configuration for session execution.
- Returns:
- value or
null
for none
-
setRuntimeConfig
public SessionTemplate setRuntimeConfig(RuntimeConfig runtimeConfig)
Optional. Runtime configuration for session execution.
- Parameters:
runtimeConfig
- runtimeConfig or null
for none
-
getUpdateTime
public String getUpdateTime()
Output only. The time the template was last updated.
- Returns:
- value or
null
for none
-
setUpdateTime
public SessionTemplate setUpdateTime(String updateTime)
Output only. The time the template was last updated.
- Parameters:
updateTime
- updateTime or null
for none
-
getUuid
public String getUuid()
Output only. A session template UUID (Unique Universal Identifier). The service generates this
value when it creates the session template.
- Returns:
- value or
null
for none
-
setUuid
public SessionTemplate setUuid(String uuid)
Output only. A session template UUID (Unique Universal Identifier). The service generates this
value when it creates the session template.
- Parameters:
uuid
- uuid or null
for none
-
set
public SessionTemplate set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public SessionTemplate clone()
- Overrides:
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy