pub struct Builder { /* private fields */ }
Expand description
A builder for EvaluateExpressionInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn pipeline_id(self, input: impl Into<String>) -> Self
pub fn pipeline_id(self, input: impl Into<String>) -> Self
The ID of the pipeline.
sourcepub fn set_pipeline_id(self, input: Option<String>) -> Self
pub fn set_pipeline_id(self, input: Option<String>) -> Self
The ID of the pipeline.
sourcepub fn set_object_id(self, input: Option<String>) -> Self
pub fn set_object_id(self, input: Option<String>) -> Self
The ID of the object.
sourcepub fn expression(self, input: impl Into<String>) -> Self
pub fn expression(self, input: impl Into<String>) -> Self
The expression to evaluate.
sourcepub fn set_expression(self, input: Option<String>) -> Self
pub fn set_expression(self, input: Option<String>) -> Self
The expression to evaluate.
sourcepub fn build(self) -> Result<EvaluateExpressionInput, BuildError>
pub fn build(self) -> Result<EvaluateExpressionInput, BuildError>
Consumes the builder and constructs a EvaluateExpressionInput
.