pub struct Builder { /* private fields */ }
Expand description
A builder for CreateEnvironmentTemplateInput
.
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 environment template name 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 environment template name 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 environment template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the environment 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 Proton uses 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 Proton uses to encrypt data.
sourcepub fn provisioning(self, input: Provisioning) -> Self
pub fn provisioning(self, input: Provisioning) -> Self
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
sourcepub fn set_provisioning(self, input: Option<Provisioning>) -> Self
pub fn set_provisioning(self, input: Option<Provisioning>) -> Self
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
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 environment 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 environment 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<CreateEnvironmentTemplateInput, BuildError>
pub fn build(self) -> Result<CreateEnvironmentTemplateInput, BuildError>
Consumes the builder and constructs a CreateEnvironmentTemplateInput
.