pub struct Builder { /* private fields */ }
Expand description
A builder for EvaluateMappingTemplateInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn template(self, input: impl Into<String>) -> Self
pub fn template(self, input: impl Into<String>) -> Self
The mapping template; this can be a request or response template. A template
is required for this action.
sourcepub fn set_template(self, input: Option<String>) -> Self
pub fn set_template(self, input: Option<String>) -> Self
The mapping template; this can be a request or response template. A template
is required for this action.
sourcepub fn context(self, input: impl Into<String>) -> Self
pub fn context(self, input: impl Into<String>) -> Self
The map that holds all of the contextual information for your resolver invocation. A context
is required for this action.
sourcepub fn set_context(self, input: Option<String>) -> Self
pub fn set_context(self, input: Option<String>) -> Self
The map that holds all of the contextual information for your resolver invocation. A context
is required for this action.
sourcepub fn build(self) -> Result<EvaluateMappingTemplateInput, BuildError>
pub fn build(self) -> Result<EvaluateMappingTemplateInput, BuildError>
Consumes the builder and constructs a EvaluateMappingTemplateInput
.