Struct aws_sdk_ses::input::create_template_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateTemplateInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn template(self, input: Template) -> Self
pub fn template(self, input: Template) -> Self
The content of the email, composed of a subject line, an HTML part, and a text-only part.
sourcepub fn set_template(self, input: Option<Template>) -> Self
pub fn set_template(self, input: Option<Template>) -> Self
The content of the email, composed of a subject line, an HTML part, and a text-only part.
sourcepub fn build(self) -> Result<CreateTemplateInput, BuildError>
pub fn build(self) -> Result<CreateTemplateInput, BuildError>
Consumes the builder and constructs a CreateTemplateInput
.