Struct aws_sdk_proton::operation::create_service_template::builders::CreateServiceTemplateInputBuilder
source · #[non_exhaustive]pub struct CreateServiceTemplateInputBuilder { /* private fields */ }
Expand description
A builder for CreateServiceTemplateInput
.
Implementations§
source§impl CreateServiceTemplateInputBuilder
impl CreateServiceTemplateInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the service template.
This field is required.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 get_display_name(&self) -> &Option<String>
pub fn get_display_name(&self) -> &Option<String>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_encryption_key(&self) -> &Option<String>
pub fn get_encryption_key(&self) -> &Option<String>
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.
sourcepub fn get_pipeline_provisioning(&self) -> &Option<Provisioning>
pub fn get_pipeline_provisioning(&self) -> &Option<Provisioning>
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.
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
.
source§impl CreateServiceTemplateInputBuilder
impl CreateServiceTemplateInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateServiceTemplateOutput, SdkError<CreateServiceTemplateError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateServiceTemplateOutput, SdkError<CreateServiceTemplateError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateServiceTemplateInputBuilder
impl Clone for CreateServiceTemplateInputBuilder
source§fn clone(&self) -> CreateServiceTemplateInputBuilder
fn clone(&self) -> CreateServiceTemplateInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateServiceTemplateInputBuilder
impl Default for CreateServiceTemplateInputBuilder
source§fn default() -> CreateServiceTemplateInputBuilder
fn default() -> CreateServiceTemplateInputBuilder
source§impl PartialEq for CreateServiceTemplateInputBuilder
impl PartialEq for CreateServiceTemplateInputBuilder
source§fn eq(&self, other: &CreateServiceTemplateInputBuilder) -> bool
fn eq(&self, other: &CreateServiceTemplateInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.