#[non_exhaustive]pub struct EnvironmentTemplateVersionBuilder { /* private fields */ }
Expand description
A builder for EnvironmentTemplateVersion
.
Implementations§
source§impl EnvironmentTemplateVersionBuilder
impl EnvironmentTemplateVersionBuilder
sourcepub fn template_name(self, input: impl Into<String>) -> Self
pub fn template_name(self, input: impl Into<String>) -> Self
The name of the version of an environment 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 version of an environment template.
sourcepub fn get_template_name(&self) -> &Option<String>
pub fn get_template_name(&self) -> &Option<String>
The name of the version of an environment 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 an environment 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 an environment 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 an environment 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 an environment 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 an environment template.
sourcepub fn get_minor_version(&self) -> &Option<String>
pub fn get_minor_version(&self) -> &Option<String>
The minor version of an environment 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 environment 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 environment 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 environment template.
sourcepub fn status(self, input: TemplateVersionStatus) -> Self
pub fn status(self, input: TemplateVersionStatus) -> Self
The status of the version of an environment template.
This field is required.sourcepub fn set_status(self, input: Option<TemplateVersionStatus>) -> Self
pub fn set_status(self, input: Option<TemplateVersionStatus>) -> Self
The status of the version of an environment template.
sourcepub fn get_status(&self) -> &Option<TemplateVersionStatus>
pub fn get_status(&self) -> &Option<TemplateVersionStatus>
The status of the version of an environment template.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
The status message of the version of an environment template.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
The status message of the version of an environment template.
sourcepub fn get_status_message(&self) -> &Option<String>
pub fn get_status_message(&self) -> &Option<String>
The status message of the version of an environment template.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the minor version of an environment template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the minor version of an environment template.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the minor version of an environment 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 an environment 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 an environment template.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the version of an environment template.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the version of an environment 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 an environment 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 an environment 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 an environment 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 an environment 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 an environment template was last modified.
sourcepub fn schema(self, input: impl Into<String>) -> Self
pub fn schema(self, input: impl Into<String>) -> Self
The schema of the version of an environment template.
sourcepub fn set_schema(self, input: Option<String>) -> Self
pub fn set_schema(self, input: Option<String>) -> Self
The schema of the version of an environment template.
sourcepub fn get_schema(&self) -> &Option<String>
pub fn get_schema(&self) -> &Option<String>
The schema of the version of an environment template.
sourcepub fn build(self) -> Result<EnvironmentTemplateVersion, BuildError>
pub fn build(self) -> Result<EnvironmentTemplateVersion, BuildError>
Consumes the builder and constructs a EnvironmentTemplateVersion
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for EnvironmentTemplateVersionBuilder
impl Clone for EnvironmentTemplateVersionBuilder
source§fn clone(&self) -> EnvironmentTemplateVersionBuilder
fn clone(&self) -> EnvironmentTemplateVersionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for EnvironmentTemplateVersionBuilder
impl Default for EnvironmentTemplateVersionBuilder
source§fn default() -> EnvironmentTemplateVersionBuilder
fn default() -> EnvironmentTemplateVersionBuilder
source§impl PartialEq for EnvironmentTemplateVersionBuilder
impl PartialEq for EnvironmentTemplateVersionBuilder
source§fn eq(&self, other: &EnvironmentTemplateVersionBuilder) -> bool
fn eq(&self, other: &EnvironmentTemplateVersionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.