#[non_exhaustive]pub struct UpdateExperimentTemplateStopConditionInputBuilder { /* private fields */ }Expand description
A builder for UpdateExperimentTemplateStopConditionInput.
Implementations§
source§impl UpdateExperimentTemplateStopConditionInputBuilder
impl UpdateExperimentTemplateStopConditionInputBuilder
sourcepub fn source(self, input: impl Into<String>) -> Self
pub fn source(self, input: impl Into<String>) -> Self
The source for the stop condition. Specify aws:cloudwatch:alarm if the stop condition is defined by a CloudWatch alarm. Specify none if there is no stop condition.
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The source for the stop condition. Specify aws:cloudwatch:alarm if the stop condition is defined by a CloudWatch alarm. Specify none if there is no stop condition.
sourcepub fn get_source(&self) -> &Option<String>
pub fn get_source(&self) -> &Option<String>
The source for the stop condition. Specify aws:cloudwatch:alarm if the stop condition is defined by a CloudWatch alarm. Specify none if there is no stop condition.
sourcepub fn value(self, input: impl Into<String>) -> Self
pub fn value(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the CloudWatch alarm.
sourcepub fn set_value(self, input: Option<String>) -> Self
pub fn set_value(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the CloudWatch alarm.
sourcepub fn get_value(&self) -> &Option<String>
pub fn get_value(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the CloudWatch alarm.
sourcepub fn build(
self
) -> Result<UpdateExperimentTemplateStopConditionInput, BuildError>
pub fn build( self ) -> Result<UpdateExperimentTemplateStopConditionInput, BuildError>
Consumes the builder and constructs a UpdateExperimentTemplateStopConditionInput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateExperimentTemplateStopConditionInputBuilder
impl Clone for UpdateExperimentTemplateStopConditionInputBuilder
source§fn clone(&self) -> UpdateExperimentTemplateStopConditionInputBuilder
fn clone(&self) -> UpdateExperimentTemplateStopConditionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for UpdateExperimentTemplateStopConditionInputBuilder
impl Default for UpdateExperimentTemplateStopConditionInputBuilder
source§fn default() -> UpdateExperimentTemplateStopConditionInputBuilder
fn default() -> UpdateExperimentTemplateStopConditionInputBuilder
source§impl PartialEq for UpdateExperimentTemplateStopConditionInputBuilder
impl PartialEq for UpdateExperimentTemplateStopConditionInputBuilder
source§fn eq(&self, other: &UpdateExperimentTemplateStopConditionInputBuilder) -> bool
fn eq(&self, other: &UpdateExperimentTemplateStopConditionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateExperimentTemplateStopConditionInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateExperimentTemplateStopConditionInputBuilder
impl RefUnwindSafe for UpdateExperimentTemplateStopConditionInputBuilder
impl Send for UpdateExperimentTemplateStopConditionInputBuilder
impl Sync for UpdateExperimentTemplateStopConditionInputBuilder
impl Unpin for UpdateExperimentTemplateStopConditionInputBuilder
impl UnwindSafe for UpdateExperimentTemplateStopConditionInputBuilder
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