Struct aws_sdk_emr::types::builders::ScalingTriggerBuilder
source · #[non_exhaustive]pub struct ScalingTriggerBuilder { /* private fields */ }Expand description
A builder for ScalingTrigger.
Implementations§
source§impl ScalingTriggerBuilder
impl ScalingTriggerBuilder
sourcepub fn cloud_watch_alarm_definition(
self,
input: CloudWatchAlarmDefinition
) -> Self
pub fn cloud_watch_alarm_definition( self, input: CloudWatchAlarmDefinition ) -> Self
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
This field is required.sourcepub fn set_cloud_watch_alarm_definition(
self,
input: Option<CloudWatchAlarmDefinition>
) -> Self
pub fn set_cloud_watch_alarm_definition( self, input: Option<CloudWatchAlarmDefinition> ) -> Self
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
sourcepub fn get_cloud_watch_alarm_definition(
&self
) -> &Option<CloudWatchAlarmDefinition>
pub fn get_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.
sourcepub fn build(self) -> ScalingTrigger
pub fn build(self) -> ScalingTrigger
Consumes the builder and constructs a ScalingTrigger.
Trait Implementations§
source§impl Clone for ScalingTriggerBuilder
impl Clone for ScalingTriggerBuilder
source§fn clone(&self) -> ScalingTriggerBuilder
fn clone(&self) -> ScalingTriggerBuilder
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 ScalingTriggerBuilder
impl Debug for ScalingTriggerBuilder
source§impl Default for ScalingTriggerBuilder
impl Default for ScalingTriggerBuilder
source§fn default() -> ScalingTriggerBuilder
fn default() -> ScalingTriggerBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ScalingTriggerBuilder
impl PartialEq for ScalingTriggerBuilder
source§fn eq(&self, other: &ScalingTriggerBuilder) -> bool
fn eq(&self, other: &ScalingTriggerBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ScalingTriggerBuilder
Auto Trait Implementations§
impl Freeze for ScalingTriggerBuilder
impl RefUnwindSafe for ScalingTriggerBuilder
impl Send for ScalingTriggerBuilder
impl Sync for ScalingTriggerBuilder
impl Unpin for ScalingTriggerBuilder
impl UnwindSafe for ScalingTriggerBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.