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<EnvironmentTier> for EnvironmentTier
impl PartialEq<EnvironmentTier> 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 ==
.