#[non_exhaustive]pub struct ServiceTemplateVersionSummaryBuilder { /* private fields */ }
Expand description
A builder for ServiceTemplateVersionSummary
.
Implementations§
source§impl ServiceTemplateVersionSummaryBuilder
impl ServiceTemplateVersionSummaryBuilder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the service template.
This field is required.sourcepub fn set_template_name(self, input: Option<String>) -> Self
pub fn set_template_name(self, input: Option<String>) -> Self
The name of the service template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the service template.
sourcepub fn major_version(self, input: impl Into<String>) -> Self
pub fn major_version(self, input: impl Into<String>) -> Self
The latest major version that's associated with the version of a service template.
This field is required.sourcepub fn set_major_version(self, input: Option<String>) -> Self
pub fn set_major_version(self, input: Option<String>) -> Self
The latest major version that's associated with the version of a service template.
sourcepub fn get_major_version(&self) -> &Option<String>
pub fn get_major_version(&self) -> &Option<String>
The latest major version that's associated with the version of a service template.
sourcepub fn minor_version(self, input: impl Into<String>) -> Self
pub fn minor_version(self, input: impl Into<String>) -> Self
The minor version of a service template.
This field is required.sourcepub fn set_minor_version(self, input: Option<String>) -> Self
pub fn set_minor_version(self, input: Option<String>) -> Self
The minor version of a service template.
sourcepub fn get_minor_version(&self) -> &Option<String>
pub fn get_minor_version(&self) -> &Option<String>
The minor version of a service template.
sourcepub fn recommended_minor_version(self, input: impl Into<String>) -> Self
pub fn recommended_minor_version(self, input: impl Into<String>) -> Self
The recommended minor version of the service template.
sourcepub fn set_recommended_minor_version(self, input: Option<String>) -> Self
pub fn set_recommended_minor_version(self, input: Option<String>) -> Self
The recommended minor version of the service template.
sourcepub fn get_recommended_minor_version(&self) -> &Option<String>
pub fn get_recommended_minor_version(&self) -> &Option<String>
The recommended minor version of the service template.
sourcepub fn status(self, input: TemplateVersionStatus) -> Self
pub fn status(self, input: TemplateVersionStatus) -> Self
The service template minor version status.
This field is required.sourcepub fn set_status(self, input: Option<TemplateVersionStatus>) -> Self
pub fn set_status(self, input: Option<TemplateVersionStatus>) -> Self
The service template minor version status.
sourcepub fn get_status(&self) -> &Option<TemplateVersionStatus>
pub fn get_status(&self) -> &Option<TemplateVersionStatus>
The service template minor version status.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A service template minor version status message.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A service template minor version status message.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
A service template minor version status message.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the version of a service template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the version of a service template.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the version of a service template.
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 version of a service template.
This field is required.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 version of a service template.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the version of a service template.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the version of a service template was created.
This field is required.sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the version of a service template was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the version of a service template was created.
sourcepub fn last_modified_at(self, input: DateTime) -> Self
pub fn last_modified_at(self, input: DateTime) -> Self
The time when the version of a service template was last modified.
This field is required.sourcepub fn set_last_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_at(self, input: Option<DateTime>) -> Self
The time when the version of a service template was last modified.
sourcepub fn get_last_modified_at(&self) -> &Option<DateTime>
pub fn get_last_modified_at(&self) -> &Option<DateTime>
The time when the version of a service template was last modified.
sourcepub fn build(self) -> Result<ServiceTemplateVersionSummary, BuildError>
pub fn build(self) -> Result<ServiceTemplateVersionSummary, BuildError>
Consumes the builder and constructs a ServiceTemplateVersionSummary
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ServiceTemplateVersionSummaryBuilder
impl Clone for ServiceTemplateVersionSummaryBuilder
source§fn clone(&self) -> ServiceTemplateVersionSummaryBuilder
fn clone(&self) -> ServiceTemplateVersionSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ServiceTemplateVersionSummaryBuilder
impl Default for ServiceTemplateVersionSummaryBuilder
source§fn default() -> ServiceTemplateVersionSummaryBuilder
fn default() -> ServiceTemplateVersionSummaryBuilder
source§impl PartialEq for ServiceTemplateVersionSummaryBuilder
impl PartialEq for ServiceTemplateVersionSummaryBuilder
source§fn eq(&self, other: &ServiceTemplateVersionSummaryBuilder) -> bool
fn eq(&self, other: &ServiceTemplateVersionSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.