Interface LifecycleConfigOrBuilder (4.33.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getTtlCase()

public abstract LifecycleConfig.TtlCase getTtlCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the autoDeleteTtl 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
TypeDescription
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
TypeDescription
boolean

Whether the idleStartTime field is set.