Class LifecycleConfig.Builder (4.88.0)

public static final class LifecycleConfig.Builder extends GeneratedMessage.Builder<LifecycleConfig.Builder> implements LifecycleConfigOrBuilder

Specifies the cluster auto-delete schedule configuration.

Protobuf type google.cloud.dataproc.v1.LifecycleConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public LifecycleConfig build()
Returns
Type Description
LifecycleConfig

buildPartial()

public LifecycleConfig buildPartial()
Returns
Type Description
LifecycleConfig

clear()

public LifecycleConfig.Builder clear()
Returns
Type Description
LifecycleConfig.Builder
Overrides

clearAutoDeleteTime()

public LifecycleConfig.Builder clearAutoDeleteTime()

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LifecycleConfig.Builder

clearAutoDeleteTtl()

public LifecycleConfig.Builder clearAutoDeleteTtl()

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).

.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LifecycleConfig.Builder

clearAutoStopTime()

public LifecycleConfig.Builder clearAutoStopTime()

Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LifecycleConfig.Builder

clearAutoStopTtl()

public LifecycleConfig.Builder clearAutoStopTtl()

Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LifecycleConfig.Builder

clearIdleDeleteTtl()

public LifecycleConfig.Builder clearIdleDeleteTtl()

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).

.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LifecycleConfig.Builder

clearIdleStartTime()

public LifecycleConfig.Builder clearIdleStartTime()

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).

.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LifecycleConfig.Builder

clearIdleStopTtl()

public LifecycleConfig.Builder clearIdleStopTtl()

Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
LifecycleConfig.Builder

clearStopTtl()

public LifecycleConfig.Builder clearStopTtl()
Returns
Type Description
LifecycleConfig.Builder

clearTtl()

public LifecycleConfig.Builder clearTtl()
Returns
Type Description
LifecycleConfig.Builder

getAutoDeleteTime()

public Timestamp getAutoDeleteTime()

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The autoDeleteTime.

getAutoDeleteTimeBuilder()

public Timestamp.Builder getAutoDeleteTimeBuilder()

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getAutoDeleteTimeOrBuilder()

public TimestampOrBuilder getAutoDeleteTimeOrBuilder()

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getAutoDeleteTtl()

public Duration 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).

.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The autoDeleteTtl.

getAutoDeleteTtlBuilder()

public Duration.Builder getAutoDeleteTtlBuilder()

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).

.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getAutoDeleteTtlOrBuilder()

public DurationOrBuilder getAutoDeleteTtlOrBuilder()

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).

.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getAutoStopTime()

public Timestamp getAutoStopTime()

Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Timestamp

The autoStopTime.

getAutoStopTimeBuilder()

public Timestamp.Builder getAutoStopTimeBuilder()

Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getAutoStopTimeOrBuilder()

public TimestampOrBuilder getAutoStopTimeOrBuilder()

Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
TimestampOrBuilder

getAutoStopTtl()

public Duration getAutoStopTtl()

Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The autoStopTtl.

getAutoStopTtlBuilder()

public Duration.Builder getAutoStopTtlBuilder()

Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getAutoStopTtlOrBuilder()

public DurationOrBuilder getAutoStopTtlOrBuilder()

Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getDefaultInstanceForType()

public LifecycleConfig getDefaultInstanceForType()
Returns
Type Description
LifecycleConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIdleDeleteTtl()

public Duration 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).

.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The idleDeleteTtl.

getIdleDeleteTtlBuilder()

public Duration.Builder getIdleDeleteTtlBuilder()

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).

.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getIdleDeleteTtlOrBuilder()

public DurationOrBuilder getIdleDeleteTtlOrBuilder()

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).

.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getIdleStartTime()

public Timestamp 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).

.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The idleStartTime.

getIdleStartTimeBuilder()

public Timestamp.Builder getIdleStartTimeBuilder()

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).

.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getIdleStartTimeOrBuilder()

public TimestampOrBuilder getIdleStartTimeOrBuilder()

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).

.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getIdleStopTtl()

public Duration getIdleStopTtl()

Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The idleStopTtl.

getIdleStopTtlBuilder()

public Duration.Builder getIdleStopTtlBuilder()

Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getIdleStopTtlOrBuilder()

public DurationOrBuilder getIdleStopTtlOrBuilder()

Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getStopTtlCase()

public LifecycleConfig.StopTtlCase getStopTtlCase()
Returns
Type Description
LifecycleConfig.StopTtlCase

getTtlCase()

public LifecycleConfig.TtlCase getTtlCase()
Returns
Type Description
LifecycleConfig.TtlCase

hasAutoDeleteTime()

public boolean hasAutoDeleteTime()

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the autoDeleteTime field is set.

hasAutoDeleteTtl()

public boolean hasAutoDeleteTtl()

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).

.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the autoDeleteTtl field is set.

hasAutoStopTime()

public boolean hasAutoStopTime()

Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the autoStopTime field is set.

hasAutoStopTtl()

public boolean hasAutoStopTtl()

Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the autoStopTtl field is set.

hasIdleDeleteTtl()

public boolean hasIdleDeleteTtl()

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).

.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the idleDeleteTtl field is set.

hasIdleStartTime()

public boolean hasIdleStartTime()

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).

.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the idleStartTime field is set.

hasIdleStopTtl()

public boolean hasIdleStopTtl()

Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the idleStopTtl field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAutoDeleteTime(Timestamp value)

public LifecycleConfig.Builder mergeAutoDeleteTime(Timestamp value)

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
LifecycleConfig.Builder

mergeAutoDeleteTtl(Duration value)

public LifecycleConfig.Builder mergeAutoDeleteTtl(Duration value)

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).

.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
LifecycleConfig.Builder

mergeAutoStopTime(Timestamp value)

public LifecycleConfig.Builder mergeAutoStopTime(Timestamp value)

Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
LifecycleConfig.Builder

mergeAutoStopTtl(Duration value)

public LifecycleConfig.Builder mergeAutoStopTtl(Duration value)

Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
LifecycleConfig.Builder

mergeFrom(LifecycleConfig other)

public LifecycleConfig.Builder mergeFrom(LifecycleConfig other)
Parameter
Name Description
other LifecycleConfig
Returns
Type Description
LifecycleConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LifecycleConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LifecycleConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LifecycleConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LifecycleConfig.Builder
Overrides

mergeIdleDeleteTtl(Duration value)

public LifecycleConfig.Builder mergeIdleDeleteTtl(Duration value)

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).

.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
LifecycleConfig.Builder

mergeIdleStartTime(Timestamp value)

public LifecycleConfig.Builder mergeIdleStartTime(Timestamp value)

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).

.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
LifecycleConfig.Builder

mergeIdleStopTtl(Duration value)

public LifecycleConfig.Builder mergeIdleStopTtl(Duration value)

Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
LifecycleConfig.Builder

setAutoDeleteTime(Timestamp value)

public LifecycleConfig.Builder setAutoDeleteTime(Timestamp value)

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
LifecycleConfig.Builder

setAutoDeleteTime(Timestamp.Builder builderForValue)

public LifecycleConfig.Builder setAutoDeleteTime(Timestamp.Builder builderForValue)

Optional. The time when cluster will be auto-deleted (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_delete_time = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LifecycleConfig.Builder

setAutoDeleteTtl(Duration value)

public LifecycleConfig.Builder setAutoDeleteTtl(Duration value)

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).

.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
LifecycleConfig.Builder

setAutoDeleteTtl(Duration.Builder builderForValue)

public LifecycleConfig.Builder setAutoDeleteTtl(Duration.Builder builderForValue)

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).

.google.protobuf.Duration auto_delete_ttl = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LifecycleConfig.Builder

setAutoStopTime(Timestamp value)

public LifecycleConfig.Builder setAutoStopTime(Timestamp value)

Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Timestamp
Returns
Type Description
LifecycleConfig.Builder

setAutoStopTime(Timestamp.Builder builderForValue)

public LifecycleConfig.Builder setAutoStopTime(Timestamp.Builder builderForValue)

Optional. The time when cluster will be auto-stopped (see JSON representation of Timestamp).

.google.protobuf.Timestamp auto_stop_time = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LifecycleConfig.Builder

setAutoStopTtl(Duration value)

public LifecycleConfig.Builder setAutoStopTtl(Duration value)

Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
LifecycleConfig.Builder

setAutoStopTtl(Duration.Builder builderForValue)

public LifecycleConfig.Builder setAutoStopTtl(Duration.Builder builderForValue)

Optional. The lifetime duration of the cluster. The cluster will be auto-stopped at the end of this period, calculated from the time of submission of the create or update cluster request. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration auto_stop_ttl = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LifecycleConfig.Builder

setIdleDeleteTtl(Duration value)

public LifecycleConfig.Builder setIdleDeleteTtl(Duration value)

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).

.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
LifecycleConfig.Builder

setIdleDeleteTtl(Duration.Builder builderForValue)

public LifecycleConfig.Builder setIdleDeleteTtl(Duration.Builder builderForValue)

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).

.google.protobuf.Duration idle_delete_ttl = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LifecycleConfig.Builder

setIdleStartTime(Timestamp value)

public LifecycleConfig.Builder setIdleStartTime(Timestamp value)

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).

.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
LifecycleConfig.Builder

setIdleStartTime(Timestamp.Builder builderForValue)

public LifecycleConfig.Builder setIdleStartTime(Timestamp.Builder builderForValue)

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).

.google.protobuf.Timestamp idle_start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LifecycleConfig.Builder

setIdleStopTtl(Duration value)

public LifecycleConfig.Builder setIdleStopTtl(Duration value)

Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Duration
Returns
Type Description
LifecycleConfig.Builder

setIdleStopTtl(Duration.Builder builderForValue)

public LifecycleConfig.Builder setIdleStopTtl(Duration.Builder builderForValue)

Optional. The duration to keep the cluster started while idling (when no jobs are running). Passing this threshold will cause the cluster to be stopped. Minimum value is 5 minutes; maximum value is 14 days (see JSON representation of Duration).

.google.protobuf.Duration idle_stop_ttl = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LifecycleConfig.Builder