pub struct Builder { /* private fields */ }
Expand description
A builder for CreateServiceTemplateInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The name of the service template as displayed in the developer interface.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The name of the service template as displayed in the developer interface.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the service template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the service template.
sourcepub fn encryption_key(self, input: impl Into<String>) -> Self
pub fn encryption_key(self, input: impl Into<String>) -> Self
A customer provided encryption key that's used to encrypt data.
sourcepub fn set_encryption_key(self, input: Option<String>) -> Self
pub fn set_encryption_key(self, input: Option<String>) -> Self
A customer provided encryption key that's used to encrypt data.
sourcepub fn pipeline_provisioning(self, input: Provisioning) -> Self
pub fn pipeline_provisioning(self, input: Provisioning) -> Self
By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.
sourcepub fn set_pipeline_provisioning(self, input: Option<Provisioning>) -> Self
pub fn set_pipeline_provisioning(self, input: Option<Provisioning>) -> Self
By default, Proton provides a service pipeline for your service. When this parameter is included, it indicates that an Proton service pipeline isn't provided for your service. After it's included, it can't be changed. For more information, see Template bundles in the Proton User Guide.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
An optional list of metadata items that you can associate with the Proton service template. A tag is a key-value pair.
For more information, see Proton resources and tagging in the Proton User Guide.
sourcepub fn build(self) -> Result<CreateServiceTemplateInput, BuildError>
pub fn build(self) -> Result<CreateServiceTemplateInput, BuildError>
Consumes the builder and constructs a CreateServiceTemplateInput
.