Struct aws_sdk_proton::types::ServiceTemplate
source · #[non_exhaustive]pub struct ServiceTemplate {
pub name: String,
pub arn: String,
pub created_at: DateTime,
pub last_modified_at: DateTime,
pub display_name: Option<String>,
pub description: Option<String>,
pub recommended_version: Option<String>,
pub encryption_key: Option<String>,
pub pipeline_provisioning: Option<Provisioning>,
}
Expand description
Detailed data of an Proton service template resource.
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: String
The name of the service template.
arn: String
The Amazon Resource Name (ARN) of the service template.
created_at: DateTime
The time when the service template was created.
last_modified_at: DateTime
The time when the service template was last modified.
display_name: Option<String>
The service template name as displayed in the developer interface.
description: Option<String>
A description of the service template.
recommended_version: Option<String>
The recommended version of the service template.
encryption_key: Option<String>
The customer provided service template encryption key that's used to encrypt data.
pipeline_provisioning: Option<Provisioning>
If pipelineProvisioning
is true
, a service pipeline is included in the service template. Otherwise, a service pipeline isn't included in the service template.
Implementations§
source§impl ServiceTemplate
impl ServiceTemplate
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time when the service template was created.
sourcepub fn last_modified_at(&self) -> &DateTime
pub fn last_modified_at(&self) -> &DateTime
The time when the service template was last modified.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The service template name 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 recommended_version(&self) -> Option<&str>
pub fn recommended_version(&self) -> Option<&str>
The recommended version of the service template.
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
The customer provided service template encryption key that's used to encrypt data.
sourcepub fn pipeline_provisioning(&self) -> Option<&Provisioning>
pub fn pipeline_provisioning(&self) -> Option<&Provisioning>
If pipelineProvisioning
is true
, a service pipeline is included in the service template. Otherwise, a service pipeline isn't included in the service template.
source§impl ServiceTemplate
impl ServiceTemplate
sourcepub fn builder() -> ServiceTemplateBuilder
pub fn builder() -> ServiceTemplateBuilder
Creates a new builder-style object to manufacture ServiceTemplate
.
Trait Implementations§
source§impl Clone for ServiceTemplate
impl Clone for ServiceTemplate
source§fn clone(&self) -> ServiceTemplate
fn clone(&self) -> ServiceTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ServiceTemplate
impl Debug for ServiceTemplate
source§impl PartialEq for ServiceTemplate
impl PartialEq for ServiceTemplate
impl StructuralPartialEq for ServiceTemplate
Auto Trait Implementations§
impl Freeze for ServiceTemplate
impl RefUnwindSafe for ServiceTemplate
impl Send for ServiceTemplate
impl Sync for ServiceTemplate
impl Unpin for ServiceTemplate
impl UnwindSafe for ServiceTemplate
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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