Struct aws_sdk_emr::types::ScalingTrigger
source · #[non_exhaustive]pub struct ScalingTrigger { /* private fields */ }Expand description
The conditions that trigger an automatic scaling activity.
Implementations§
source§impl ScalingTrigger
impl ScalingTrigger
sourcepub fn cloud_watch_alarm_definition(&self) -> Option<&CloudWatchAlarmDefinition>
pub fn cloud_watch_alarm_definition(&self) -> Option<&CloudWatchAlarmDefinition>
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
source§impl ScalingTrigger
impl ScalingTrigger
sourcepub fn builder() -> ScalingTriggerBuilder
pub fn builder() -> ScalingTriggerBuilder
Creates a new builder-style object to manufacture ScalingTrigger.
Trait Implementations§
source§impl Clone for ScalingTrigger
impl Clone for ScalingTrigger
source§fn clone(&self) -> ScalingTrigger
fn clone(&self) -> ScalingTrigger
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ScalingTrigger
impl Debug for ScalingTrigger
source§impl PartialEq<ScalingTrigger> for ScalingTrigger
impl PartialEq<ScalingTrigger> for ScalingTrigger
source§fn eq(&self, other: &ScalingTrigger) -> bool
fn eq(&self, other: &ScalingTrigger) -> bool
This method tests for
self and other values to be equal, and is used
by ==.