#[non_exhaustive]pub struct CreateServiceTemplateInput {
pub name: Option<String>,
pub display_name: Option<String>,
pub description: Option<String>,
pub encryption_key: Option<String>,
pub pipeline_provisioning: Option<Provisioning>,
pub tags: Option<Vec<Tag>>,
}
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.name: Option<String>
The name of the service template.
display_name: Option<String>
The name of the service template as displayed in the developer interface.
description: Option<String>
A description of the service template.
encryption_key: Option<String>
A customer provided encryption key that's used to encrypt data.
pipeline_provisioning: 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.
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.
Implementations§
source§impl CreateServiceTemplateInput
impl CreateServiceTemplateInput
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The name of the service template as displayed in the developer interface.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the service template.
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
A customer provided encryption key that's used to encrypt data.
sourcepub fn pipeline_provisioning(&self) -> Option<&Provisioning>
pub fn 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.
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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateServiceTemplateInput
impl CreateServiceTemplateInput
sourcepub fn builder() -> CreateServiceTemplateInputBuilder
pub fn builder() -> CreateServiceTemplateInputBuilder
Creates a new builder-style object to manufacture CreateServiceTemplateInput
.
Trait Implementations§
source§impl Clone for CreateServiceTemplateInput
impl Clone for CreateServiceTemplateInput
source§fn clone(&self) -> CreateServiceTemplateInput
fn clone(&self) -> CreateServiceTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateServiceTemplateInput
impl Debug for CreateServiceTemplateInput
source§impl PartialEq for CreateServiceTemplateInput
impl PartialEq for CreateServiceTemplateInput
source§fn eq(&self, other: &CreateServiceTemplateInput) -> bool
fn eq(&self, other: &CreateServiceTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateServiceTemplateInput
Auto Trait Implementations§
impl Freeze for CreateServiceTemplateInput
impl RefUnwindSafe for CreateServiceTemplateInput
impl Send for CreateServiceTemplateInput
impl Sync for CreateServiceTemplateInput
impl Unpin for CreateServiceTemplateInput
impl UnwindSafe for CreateServiceTemplateInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more