Struct aws_sdk_appsync::operation::evaluate_mapping_template::builders::EvaluateMappingTemplateOutputBuilder
source · #[non_exhaustive]pub struct EvaluateMappingTemplateOutputBuilder { /* private fields */ }Expand description
A builder for EvaluateMappingTemplateOutput.
Implementations§
source§impl EvaluateMappingTemplateOutputBuilder
impl EvaluateMappingTemplateOutputBuilder
sourcepub fn evaluation_result(self, input: impl Into<String>) -> Self
pub fn evaluation_result(self, input: impl Into<String>) -> Self
The mapping template; this can be a request or response template.
sourcepub fn set_evaluation_result(self, input: Option<String>) -> Self
pub fn set_evaluation_result(self, input: Option<String>) -> Self
The mapping template; this can be a request or response template.
sourcepub fn error(self, input: ErrorDetail) -> Self
pub fn error(self, input: ErrorDetail) -> Self
The ErrorDetail object.
sourcepub fn set_error(self, input: Option<ErrorDetail>) -> Self
pub fn set_error(self, input: Option<ErrorDetail>) -> Self
The ErrorDetail object.
sourcepub fn logs(self, input: impl Into<String>) -> Self
pub fn logs(self, input: impl Into<String>) -> Self
Appends an item to logs.
To override the contents of this collection use set_logs.
A list of logs that were generated by calls to util.log.info and util.log.error in the evaluated code.
sourcepub fn set_logs(self, input: Option<Vec<String>>) -> Self
pub fn set_logs(self, input: Option<Vec<String>>) -> Self
A list of logs that were generated by calls to util.log.info and util.log.error in the evaluated code.
sourcepub fn build(self) -> EvaluateMappingTemplateOutput
pub fn build(self) -> EvaluateMappingTemplateOutput
Consumes the builder and constructs a EvaluateMappingTemplateOutput.
Trait Implementations§
source§impl Clone for EvaluateMappingTemplateOutputBuilder
impl Clone for EvaluateMappingTemplateOutputBuilder
source§fn clone(&self) -> EvaluateMappingTemplateOutputBuilder
fn clone(&self) -> EvaluateMappingTemplateOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for EvaluateMappingTemplateOutputBuilder
impl Default for EvaluateMappingTemplateOutputBuilder
source§fn default() -> EvaluateMappingTemplateOutputBuilder
fn default() -> EvaluateMappingTemplateOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<EvaluateMappingTemplateOutputBuilder> for EvaluateMappingTemplateOutputBuilder
impl PartialEq<EvaluateMappingTemplateOutputBuilder> for EvaluateMappingTemplateOutputBuilder
source§fn eq(&self, other: &EvaluateMappingTemplateOutputBuilder) -> bool
fn eq(&self, other: &EvaluateMappingTemplateOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.