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 get_evaluation_result(&self) -> &Option<String>
pub fn get_evaluation_result(&self) -> &Option<String>
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 get_error(&self) -> &Option<ErrorDetail>
pub fn get_error(&self) -> &Option<ErrorDetail>
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 get_logs(&self) -> &Option<Vec<String>>
pub fn get_logs(&self) -> &Option<Vec<String>>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EvaluateMappingTemplateOutputBuilder
impl Default for EvaluateMappingTemplateOutputBuilder
source§fn default() -> EvaluateMappingTemplateOutputBuilder
fn default() -> EvaluateMappingTemplateOutputBuilder
source§impl PartialEq for EvaluateMappingTemplateOutputBuilder
impl PartialEq for EvaluateMappingTemplateOutputBuilder
source§fn eq(&self, other: &EvaluateMappingTemplateOutputBuilder) -> bool
fn eq(&self, other: &EvaluateMappingTemplateOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.