Interface BlueGreenSettings.AutoscaledRolloutPolicyOrBuilder (2.81.0)

public static interface BlueGreenSettings.AutoscaledRolloutPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getWaitForDrainDuration()

public abstract Duration getWaitForDrainDuration()

Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.

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

Returns
Type Description
Duration

The waitForDrainDuration.

getWaitForDrainDurationOrBuilder()

public abstract DurationOrBuilder getWaitForDrainDurationOrBuilder()

Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.

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

Returns
Type Description
DurationOrBuilder

hasWaitForDrainDuration()

public abstract boolean hasWaitForDrainDuration()

Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.

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

Returns
Type Description
boolean

Whether the waitForDrainDuration field is set.