#[non_exhaustive]pub struct ConditionExpressionBuilder { /* private fields */ }
Expand description
A builder for ConditionExpression
.
Implementations§
source§impl ConditionExpressionBuilder
impl ConditionExpressionBuilder
sourcepub fn condition(self, input: impl Into<String>) -> Self
pub fn condition(self, input: impl Into<String>) -> Self
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
This field is required.sourcepub fn set_condition(self, input: Option<String>) -> Self
pub fn set_condition(self, input: Option<String>) -> Self
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
sourcepub fn get_condition(&self) -> &Option<String>
pub fn get_condition(&self) -> &Option<String>
A specific condition to apply to a recipe action. For more information, see Recipe structure in the Glue DataBrew Developer Guide.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
A value that the condition must evaluate to for the condition to succeed.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
A value that the condition must evaluate to for the condition to succeed.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
A value that the condition must evaluate to for the condition to succeed.
sourcepub fn target_column(self, input: impl Into<String>) -> Self
pub fn target_column(self, input: impl Into<String>) -> Self
A column to apply this condition to.
This field is required.sourcepub fn set_target_column(self, input: Option<String>) -> Self
pub fn set_target_column(self, input: Option<String>) -> Self
A column to apply this condition to.
sourcepub fn get_target_column(&self) -> &Option<String>
pub fn get_target_column(&self) -> &Option<String>
A column to apply this condition to.
sourcepub fn build(self) -> Result<ConditionExpression, BuildError>
pub fn build(self) -> Result<ConditionExpression, BuildError>
Consumes the builder and constructs a ConditionExpression
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ConditionExpressionBuilder
impl Clone for ConditionExpressionBuilder
source§fn clone(&self) -> ConditionExpressionBuilder
fn clone(&self) -> ConditionExpressionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ConditionExpressionBuilder
impl Debug for ConditionExpressionBuilder
source§impl Default for ConditionExpressionBuilder
impl Default for ConditionExpressionBuilder
source§fn default() -> ConditionExpressionBuilder
fn default() -> ConditionExpressionBuilder
source§impl PartialEq for ConditionExpressionBuilder
impl PartialEq for ConditionExpressionBuilder
source§fn eq(&self, other: &ConditionExpressionBuilder) -> bool
fn eq(&self, other: &ConditionExpressionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.