Interface TerraformVariableValidationOrBuilder (0.3.0)

public interface TerraformVariableValidationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract String getCondition()

Optional. The HCL expression for the validation condition (e.g., "length(var.image_id) > 4").

string condition = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The condition.

getConditionBytes()

public abstract ByteString getConditionBytes()

Optional. The HCL expression for the validation condition (e.g., "length(var.image_id) > 4").

string condition = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for condition.

getErrorMessage()

public abstract String getErrorMessage()

Optional. The error message displayed when the condition is false.

string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The errorMessage.

getErrorMessageBytes()

public abstract ByteString getErrorMessageBytes()

Optional. The error message displayed when the condition is false.

string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for errorMessage.