#[non_exhaustive]pub struct TemplateVersionSummaryBuilder { /* private fields */ }Expand description
A builder for TemplateVersionSummary.
Implementations§
source§impl TemplateVersionSummaryBuilder
impl TemplateVersionSummaryBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the template version.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the template version.
sourcepub fn version_number(self, input: i64) -> Self
pub fn version_number(self, input: i64) -> Self
The version number of the template version.
sourcepub fn set_version_number(self, input: Option<i64>) -> Self
pub fn set_version_number(self, input: Option<i64>) -> Self
The version number of the template version.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The time that this template version was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The time that this template version was created.
sourcepub fn status(self, input: ResourceStatus) -> Self
pub fn status(self, input: ResourceStatus) -> Self
The status of the template version.
sourcepub fn set_status(self, input: Option<ResourceStatus>) -> Self
pub fn set_status(self, input: Option<ResourceStatus>) -> Self
The status of the template version.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the template version.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the template version.
sourcepub fn build(self) -> TemplateVersionSummary
pub fn build(self) -> TemplateVersionSummary
Consumes the builder and constructs a TemplateVersionSummary.
Trait Implementations§
source§impl Clone for TemplateVersionSummaryBuilder
impl Clone for TemplateVersionSummaryBuilder
source§fn clone(&self) -> TemplateVersionSummaryBuilder
fn clone(&self) -> TemplateVersionSummaryBuilder
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 Default for TemplateVersionSummaryBuilder
impl Default for TemplateVersionSummaryBuilder
source§fn default() -> TemplateVersionSummaryBuilder
fn default() -> TemplateVersionSummaryBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<TemplateVersionSummaryBuilder> for TemplateVersionSummaryBuilder
impl PartialEq<TemplateVersionSummaryBuilder> for TemplateVersionSummaryBuilder
source§fn eq(&self, other: &TemplateVersionSummaryBuilder) -> bool
fn eq(&self, other: &TemplateVersionSummaryBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TemplateVersionSummaryBuilder
Auto Trait Implementations§
impl RefUnwindSafe for TemplateVersionSummaryBuilder
impl Send for TemplateVersionSummaryBuilder
impl Sync for TemplateVersionSummaryBuilder
impl Unpin for TemplateVersionSummaryBuilder
impl UnwindSafe for TemplateVersionSummaryBuilder
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