Struct aws_sdk_connectcases::operation::create_template::builders::CreateTemplateOutputBuilder
source · #[non_exhaustive]pub struct CreateTemplateOutputBuilder { /* private fields */ }Expand description
A builder for CreateTemplateOutput.
Implementations§
source§impl CreateTemplateOutputBuilder
impl CreateTemplateOutputBuilder
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.
This field is required.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 newly created template.
This field is required.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 newly created template.
sourcepub fn get_template_arn(&self) -> &Option<String>
pub fn get_template_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the newly created template.
sourcepub fn build(self) -> Result<CreateTemplateOutput, BuildError>
pub fn build(self) -> Result<CreateTemplateOutput, BuildError>
Consumes the builder and constructs a CreateTemplateOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateTemplateOutputBuilder
impl Clone for CreateTemplateOutputBuilder
source§fn clone(&self) -> CreateTemplateOutputBuilder
fn clone(&self) -> CreateTemplateOutputBuilder
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 Debug for CreateTemplateOutputBuilder
impl Debug for CreateTemplateOutputBuilder
source§impl Default for CreateTemplateOutputBuilder
impl Default for CreateTemplateOutputBuilder
source§fn default() -> CreateTemplateOutputBuilder
fn default() -> CreateTemplateOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateTemplateOutputBuilder
impl PartialEq for CreateTemplateOutputBuilder
source§fn eq(&self, other: &CreateTemplateOutputBuilder) -> bool
fn eq(&self, other: &CreateTemplateOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateTemplateOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateTemplateOutputBuilder
impl RefUnwindSafe for CreateTemplateOutputBuilder
impl Send for CreateTemplateOutputBuilder
impl Sync for CreateTemplateOutputBuilder
impl Unpin for CreateTemplateOutputBuilder
impl UnwindSafe for CreateTemplateOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.