#[non_exhaustive]pub struct StatelessCustomActionDefinitionBuilder { /* private fields */ }
Expand description
A builder for StatelessCustomActionDefinition
.
Implementations§
source§impl StatelessCustomActionDefinitionBuilder
impl StatelessCustomActionDefinitionBuilder
sourcepub fn publish_metric_action(
self,
input: StatelessCustomPublishMetricAction
) -> Self
pub fn publish_metric_action( self, input: StatelessCustomPublishMetricAction ) -> Self
Information about metrics to publish to CloudWatch.
sourcepub fn set_publish_metric_action(
self,
input: Option<StatelessCustomPublishMetricAction>
) -> Self
pub fn set_publish_metric_action( self, input: Option<StatelessCustomPublishMetricAction> ) -> Self
Information about metrics to publish to CloudWatch.
sourcepub fn get_publish_metric_action(
&self
) -> &Option<StatelessCustomPublishMetricAction>
pub fn get_publish_metric_action( &self ) -> &Option<StatelessCustomPublishMetricAction>
Information about metrics to publish to CloudWatch.
sourcepub fn build(self) -> StatelessCustomActionDefinition
pub fn build(self) -> StatelessCustomActionDefinition
Consumes the builder and constructs a StatelessCustomActionDefinition
.
Trait Implementations§
source§impl Clone for StatelessCustomActionDefinitionBuilder
impl Clone for StatelessCustomActionDefinitionBuilder
source§fn clone(&self) -> StatelessCustomActionDefinitionBuilder
fn clone(&self) -> StatelessCustomActionDefinitionBuilder
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 Default for StatelessCustomActionDefinitionBuilder
impl Default for StatelessCustomActionDefinitionBuilder
source§fn default() -> StatelessCustomActionDefinitionBuilder
fn default() -> StatelessCustomActionDefinitionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StatelessCustomActionDefinitionBuilder
impl PartialEq for StatelessCustomActionDefinitionBuilder
source§fn eq(&self, other: &StatelessCustomActionDefinitionBuilder) -> bool
fn eq(&self, other: &StatelessCustomActionDefinitionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StatelessCustomActionDefinitionBuilder
Auto Trait Implementations§
impl Freeze for StatelessCustomActionDefinitionBuilder
impl RefUnwindSafe for StatelessCustomActionDefinitionBuilder
impl Send for StatelessCustomActionDefinitionBuilder
impl Sync for StatelessCustomActionDefinitionBuilder
impl Unpin for StatelessCustomActionDefinitionBuilder
impl UnwindSafe for StatelessCustomActionDefinitionBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.