target.apidocs.com.google.api.services.dataproc.model.LifecycleConfig.html Maven / Gradle / Ivy
The newest version!
LifecycleConfig (Cloud Dataproc API v1-rev20241025-2.0.0)
com.google.api.services.dataproc.model
Class LifecycleConfig
- 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.LifecycleConfig
-
public final class LifecycleConfig
extends com.google.api.client.json.GenericJson
Specifies the cluster auto-delete schedule configuration.
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
LifecycleConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
LifecycleConfig
clone()
String
getAutoDeleteTime()
Optional.
String
getAutoDeleteTtl()
Optional.
String
getIdleDeleteTtl()
Optional.
String
getIdleStartTime()
Output only.
LifecycleConfig
set(String fieldName,
Object value)
LifecycleConfig
setAutoDeleteTime(String autoDeleteTime)
Optional.
LifecycleConfig
setAutoDeleteTtl(String autoDeleteTtl)
Optional.
LifecycleConfig
setIdleDeleteTtl(String idleDeleteTtl)
Optional.
LifecycleConfig
setIdleStartTime(String idleStartTime)
Output only.
-
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
-
getAutoDeleteTime
public String getAutoDeleteTime()
Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp
(https://developers.google.com/protocol-buffers/docs/proto3#json)).
- Returns:
- value or
null
for none
-
setAutoDeleteTime
public LifecycleConfig setAutoDeleteTime(String autoDeleteTime)
Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp
(https://developers.google.com/protocol-buffers/docs/proto3#json)).
- Parameters:
autoDeleteTime
- autoDeleteTime or null
for none
-
getAutoDeleteTtl
public String getAutoDeleteTtl()
Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this
period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of
Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
- Returns:
- value or
null
for none
-
setAutoDeleteTtl
public LifecycleConfig setAutoDeleteTtl(String autoDeleteTtl)
Optional. The lifetime duration of cluster. The cluster will be auto-deleted at the end of this
period. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of
Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
- Parameters:
autoDeleteTtl
- autoDeleteTtl or null
for none
-
getIdleDeleteTtl
public String getIdleDeleteTtl()
Optional. The duration to keep the cluster alive while idling (when no jobs are running).
Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes;
maximum value is 14 days (see JSON representation of Duration
(https://developers.google.com/protocol-buffers/docs/proto3#json)).
- Returns:
- value or
null
for none
-
setIdleDeleteTtl
public LifecycleConfig setIdleDeleteTtl(String idleDeleteTtl)
Optional. The duration to keep the cluster alive while idling (when no jobs are running).
Passing this threshold will cause the cluster to be deleted. Minimum value is 5 minutes;
maximum value is 14 days (see JSON representation of Duration
(https://developers.google.com/protocol-buffers/docs/proto3#json)).
- Parameters:
idleDeleteTtl
- idleDeleteTtl or null
for none
-
getIdleStartTime
public String getIdleStartTime()
Output only. The time when cluster became idle (most recent job finished) and became eligible
for deletion due to idleness (see JSON representation of Timestamp
(https://developers.google.com/protocol-buffers/docs/proto3#json)).
- Returns:
- value or
null
for none
-
setIdleStartTime
public LifecycleConfig setIdleStartTime(String idleStartTime)
Output only. The time when cluster became idle (most recent job finished) and became eligible
for deletion due to idleness (see JSON representation of Timestamp
(https://developers.google.com/protocol-buffers/docs/proto3#json)).
- Parameters:
idleStartTime
- idleStartTime or null
for none
-
set
public LifecycleConfig set(String fieldName,
Object value)
- Overrides:
set
in class com.google.api.client.json.GenericJson
-
clone
public LifecycleConfig 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