#[non_exhaustive]pub struct GetTemplateOutputBuilder { /* private fields */ }
Expand description
A builder for GetTemplateOutput
.
Implementations§
source§impl GetTemplateOutputBuilder
impl GetTemplateOutputBuilder
sourcepub fn template_id(self, input: impl Into<String>) -> Self
pub fn template_id(self, input: impl Into<String>) -> Self
A unique identifier of a template.
sourcepub fn set_template_id(self, input: Option<String>) -> Self
pub fn set_template_id(self, input: Option<String>) -> Self
A unique identifier of a template.
sourcepub fn get_template_id(&self) -> &Option<String>
pub fn get_template_id(&self) -> &Option<String>
A unique identifier of a template.
sourcepub fn template_arn(self, input: impl Into<String>) -> Self
pub fn template_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the template.
sourcepub fn set_template_arn(self, input: Option<String>) -> Self
pub fn set_template_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the template.
sourcepub fn get_template_arn(&self) -> &Option<String>
pub fn get_template_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the template.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A brief description of the template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A brief description of the template.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A brief description of the template.
sourcepub fn layout_configuration(self, input: LayoutConfiguration) -> Self
pub fn layout_configuration(self, input: LayoutConfiguration) -> Self
Configuration of layouts associated to the template.
sourcepub fn set_layout_configuration(
self,
input: Option<LayoutConfiguration>
) -> Self
pub fn set_layout_configuration( self, input: Option<LayoutConfiguration> ) -> Self
Configuration of layouts associated to the template.
sourcepub fn get_layout_configuration(&self) -> &Option<LayoutConfiguration>
pub fn get_layout_configuration(&self) -> &Option<LayoutConfiguration>
Configuration of layouts associated to the template.
sourcepub fn required_fields(self, input: RequiredField) -> Self
pub fn required_fields(self, input: RequiredField) -> Self
Appends an item to required_fields
.
To override the contents of this collection use set_required_fields
.
A list of fields that must contain a value for a case to be successfully created with this template.
sourcepub fn set_required_fields(self, input: Option<Vec<RequiredField>>) -> Self
pub fn set_required_fields(self, input: Option<Vec<RequiredField>>) -> Self
A list of fields that must contain a value for a case to be successfully created with this template.
sourcepub fn get_required_fields(&self) -> &Option<Vec<RequiredField>>
pub fn get_required_fields(&self) -> &Option<Vec<RequiredField>>
A list of fields that must contain a value for a case to be successfully created with this template.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.
sourcepub fn status(self, input: TemplateStatus) -> Self
pub fn status(self, input: TemplateStatus) -> Self
The status of the template.
sourcepub fn set_status(self, input: Option<TemplateStatus>) -> Self
pub fn set_status(self, input: Option<TemplateStatus>) -> Self
The status of the template.
sourcepub fn get_status(&self) -> &Option<TemplateStatus>
pub fn get_status(&self) -> &Option<TemplateStatus>
The status of the template.
sourcepub fn build(self) -> GetTemplateOutput
pub fn build(self) -> GetTemplateOutput
Consumes the builder and constructs a GetTemplateOutput
.
Trait Implementations§
source§impl Clone for GetTemplateOutputBuilder
impl Clone for GetTemplateOutputBuilder
source§fn clone(&self) -> GetTemplateOutputBuilder
fn clone(&self) -> GetTemplateOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetTemplateOutputBuilder
impl Debug for GetTemplateOutputBuilder
source§impl Default for GetTemplateOutputBuilder
impl Default for GetTemplateOutputBuilder
source§fn default() -> GetTemplateOutputBuilder
fn default() -> GetTemplateOutputBuilder
source§impl PartialEq for GetTemplateOutputBuilder
impl PartialEq for GetTemplateOutputBuilder
source§fn eq(&self, other: &GetTemplateOutputBuilder) -> bool
fn eq(&self, other: &GetTemplateOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.