Interface LifecycleConfigOrBuilder (4.88.0)

public interface LifecycleConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutoDeleteTime()

public abstract 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.

getAutoDeleteTimeOrBuilder()

public abstract 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 abstract 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.

getAutoDeleteTtlOrBuilder()

public abstract 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 abstract 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.

getAutoStopTimeOrBuilder()

public abstract 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 abstract 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.

getAutoStopTtlOrBuilder()

public abstract 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

getIdleDeleteTtl()

public abstract 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.

getIdleDeleteTtlOrBuilder()

public abstract 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 abstract 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.

getIdleStartTimeOrBuilder()

public abstract 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 abstract 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.

getIdleStopTtlOrBuilder()

public abstract 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 abstract LifecycleConfig.StopTtlCase getStopTtlCase()
Returns
Type Description
LifecycleConfig.StopTtlCase

getTtlCase()

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

hasAutoDeleteTime()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.