Struct aws_sdk_proton::operation::update_service_template_version::UpdateServiceTemplateVersionInput
source · #[non_exhaustive]pub struct UpdateServiceTemplateVersionInput {
pub template_name: Option<String>,
pub major_version: Option<String>,
pub minor_version: Option<String>,
pub description: Option<String>,
pub status: Option<TemplateVersionStatus>,
pub compatible_environment_templates: Option<Vec<CompatibleEnvironmentTemplateInput>>,
pub supported_component_sources: Option<Vec<ServiceTemplateSupportedComponentSourceType>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.template_name: Option<String>
The name of the service template.
major_version: Option<String>
To update a major version of a service template, include major Version
.
minor_version: Option<String>
To update a minor version of a service template, include minorVersion
.
description: Option<String>
A description of a service template version to update.
status: Option<TemplateVersionStatus>
The status of the service template minor version to update.
compatible_environment_templates: Option<Vec<CompatibleEnvironmentTemplateInput>>
An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
supported_component_sources: Option<Vec<ServiceTemplateSupportedComponentSourceType>>
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
A change to supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.
For more information about components, see Proton components in the Proton User Guide.
Implementations§
source§impl UpdateServiceTemplateVersionInput
impl UpdateServiceTemplateVersionInput
sourcepub fn template_name(&self) -> Option<&str>
pub fn template_name(&self) -> Option<&str>
The name of the service template.
sourcepub fn major_version(&self) -> Option<&str>
pub fn major_version(&self) -> Option<&str>
To update a major version of a service template, include major Version
.
sourcepub fn minor_version(&self) -> Option<&str>
pub fn minor_version(&self) -> Option<&str>
To update a minor version of a service template, include minorVersion
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of a service template version to update.
sourcepub fn status(&self) -> Option<&TemplateVersionStatus>
pub fn status(&self) -> Option<&TemplateVersionStatus>
The status of the service template minor version to update.
sourcepub fn compatible_environment_templates(
&self
) -> &[CompatibleEnvironmentTemplateInput]
pub fn compatible_environment_templates( &self ) -> &[CompatibleEnvironmentTemplateInput]
An array of environment template objects that are compatible with this service template version. A service instance based on this service template version can run in environments based on compatible templates.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .compatible_environment_templates.is_none()
.
sourcepub fn supported_component_sources(
&self
) -> &[ServiceTemplateSupportedComponentSourceType]
pub fn supported_component_sources( &self ) -> &[ServiceTemplateSupportedComponentSourceType]
An array of supported component sources. Components with supported sources can be attached to service instances based on this service template version.
A change to supportedComponentSources
doesn't impact existing component attachments to instances based on this template version. A change only affects later associations.
For more information about components, see Proton components in the Proton User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .supported_component_sources.is_none()
.
source§impl UpdateServiceTemplateVersionInput
impl UpdateServiceTemplateVersionInput
sourcepub fn builder() -> UpdateServiceTemplateVersionInputBuilder
pub fn builder() -> UpdateServiceTemplateVersionInputBuilder
Creates a new builder-style object to manufacture UpdateServiceTemplateVersionInput
.
Trait Implementations§
source§impl Clone for UpdateServiceTemplateVersionInput
impl Clone for UpdateServiceTemplateVersionInput
source§fn clone(&self) -> UpdateServiceTemplateVersionInput
fn clone(&self) -> UpdateServiceTemplateVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateServiceTemplateVersionInput
impl PartialEq for UpdateServiceTemplateVersionInput
source§fn eq(&self, other: &UpdateServiceTemplateVersionInput) -> bool
fn eq(&self, other: &UpdateServiceTemplateVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.