Struct aws_sdk_ses::input::test_render_template_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TestRenderTemplateInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the template that you want to render.
sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the template that you want to render.
sourcepub fn template_data(self, input: impl Into<String>) -> Self
pub fn template_data(self, input: impl Into<String>) -> Self
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
sourcepub fn set_template_data(self, input: Option<String>) -> Self
pub fn set_template_data(self, input: Option<String>) -> Self
A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.
sourcepub fn build(self) -> Result<TestRenderTemplateInput, BuildError>
pub fn build(self) -> Result<TestRenderTemplateInput, BuildError>
Consumes the builder and constructs a TestRenderTemplateInput
.