Struct aws_sdk_elasticbeanstalk::types::EnvironmentTier
source · #[non_exhaustive]pub struct EnvironmentTier {
pub name: Option<String>,
pub type: Option<String>,
pub version: Option<String>,
}
Expand description
Describes the properties of an environment tier
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 this environment tier.
Valid values:
-
For Web server tier –
WebServer
-
For Worker tier –
Worker
type: Option<String>
The type of this environment tier.
Valid values:
-
For Web server tier –
Standard
-
For Worker tier –
SQS/HTTP
version: Option<String>
The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.
This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
Implementations§
source§impl EnvironmentTier
impl EnvironmentTier
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of this environment tier.
Valid values:
-
For Web server tier –
WebServer
-
For Worker tier –
Worker
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of this environment tier.
Valid values:
-
For Web server tier –
Standard
-
For Worker tier –
SQS/HTTP
sourcepub fn version(&self) -> Option<&str>
pub fn version(&self) -> Option<&str>
The version of this environment tier. When you don't set a value to it, Elastic Beanstalk uses the latest compatible worker tier version.
This member is deprecated. Any specific version that you set may become out of date. We recommend leaving it unspecified.
source§impl EnvironmentTier
impl EnvironmentTier
sourcepub fn builder() -> EnvironmentTierBuilder
pub fn builder() -> EnvironmentTierBuilder
Creates a new builder-style object to manufacture EnvironmentTier
.
Trait Implementations§
source§impl Clone for EnvironmentTier
impl Clone for EnvironmentTier
source§fn clone(&self) -> EnvironmentTier
fn clone(&self) -> EnvironmentTier
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EnvironmentTier
impl Debug for EnvironmentTier
source§impl PartialEq for EnvironmentTier
impl PartialEq for EnvironmentTier
source§fn eq(&self, other: &EnvironmentTier) -> bool
fn eq(&self, other: &EnvironmentTier) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EnvironmentTier
Auto Trait Implementations§
impl Freeze for EnvironmentTier
impl RefUnwindSafe for EnvironmentTier
impl Send for EnvironmentTier
impl Sync for EnvironmentTier
impl Unpin for EnvironmentTier
impl UnwindSafe for EnvironmentTier
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