Struct aws_sdk_proton::types::EnvironmentTemplate
source · #[non_exhaustive]pub struct EnvironmentTemplate {
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 provisioning: Option<Provisioning>,
}
Expand description
The environment template data.
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 environment template.
arn: String
The Amazon Resource Name (ARN) of the environment template.
created_at: DateTime
The time when the environment template was created.
last_modified_at: DateTime
The time when the environment template was last modified.
display_name: Option<String>
The name of the environment template as displayed in the developer interface.
description: Option<String>
A description of the environment template.
recommended_version: Option<String>
The ID of the recommended version of the environment template.
encryption_key: Option<String>
The customer provided encryption key for the environment template.
provisioning: Option<Provisioning>
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
Implementations§
source§impl EnvironmentTemplate
impl EnvironmentTemplate
sourcepub fn created_at(&self) -> &DateTime
pub fn created_at(&self) -> &DateTime
The time when the environment template was created.
sourcepub fn last_modified_at(&self) -> &DateTime
pub fn last_modified_at(&self) -> &DateTime
The time when the environment template was last modified.
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The name of the environment template as displayed in the developer interface.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the environment template.
sourcepub fn recommended_version(&self) -> Option<&str>
pub fn recommended_version(&self) -> Option<&str>
The ID of the recommended version of the environment template.
sourcepub fn encryption_key(&self) -> Option<&str>
pub fn encryption_key(&self) -> Option<&str>
The customer provided encryption key for the environment template.
sourcepub fn provisioning(&self) -> Option<&Provisioning>
pub fn provisioning(&self) -> Option<&Provisioning>
When included, indicates that the environment template is for customer provisioned and managed infrastructure.
source§impl EnvironmentTemplate
impl EnvironmentTemplate
sourcepub fn builder() -> EnvironmentTemplateBuilder
pub fn builder() -> EnvironmentTemplateBuilder
Creates a new builder-style object to manufacture EnvironmentTemplate
.
Trait Implementations§
source§impl Clone for EnvironmentTemplate
impl Clone for EnvironmentTemplate
source§fn clone(&self) -> EnvironmentTemplate
fn clone(&self) -> EnvironmentTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnvironmentTemplate
impl Debug for EnvironmentTemplate
source§impl PartialEq for EnvironmentTemplate
impl PartialEq for EnvironmentTemplate
impl StructuralPartialEq for EnvironmentTemplate
Auto Trait Implementations§
impl Freeze for EnvironmentTemplate
impl RefUnwindSafe for EnvironmentTemplate
impl Send for EnvironmentTemplate
impl Sync for EnvironmentTemplate
impl Unpin for EnvironmentTemplate
impl UnwindSafe for EnvironmentTemplate
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