#[non_exhaustive]pub struct CreateExperimentTemplateStopConditionInputBuilder { /* private fields */ }Expand description
A builder for CreateExperimentTemplateStopConditionInput.
Implementations§
source§impl CreateExperimentTemplateStopConditionInputBuilder
impl CreateExperimentTemplateStopConditionInputBuilder
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. This is required if the source is a 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. This is required if the source is a 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. This is required if the source is a CloudWatch alarm.
sourcepub fn build(
self
) -> Result<CreateExperimentTemplateStopConditionInput, BuildError>
pub fn build( self ) -> Result<CreateExperimentTemplateStopConditionInput, BuildError>
Consumes the builder and constructs a CreateExperimentTemplateStopConditionInput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateExperimentTemplateStopConditionInputBuilder
impl Clone for CreateExperimentTemplateStopConditionInputBuilder
source§fn clone(&self) -> CreateExperimentTemplateStopConditionInputBuilder
fn clone(&self) -> CreateExperimentTemplateStopConditionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateExperimentTemplateStopConditionInputBuilder
impl Default for CreateExperimentTemplateStopConditionInputBuilder
source§fn default() -> CreateExperimentTemplateStopConditionInputBuilder
fn default() -> CreateExperimentTemplateStopConditionInputBuilder
source§impl PartialEq for CreateExperimentTemplateStopConditionInputBuilder
impl PartialEq for CreateExperimentTemplateStopConditionInputBuilder
source§fn eq(&self, other: &CreateExperimentTemplateStopConditionInputBuilder) -> bool
fn eq(&self, other: &CreateExperimentTemplateStopConditionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateExperimentTemplateStopConditionInputBuilder
Auto Trait Implementations§
impl Freeze for CreateExperimentTemplateStopConditionInputBuilder
impl RefUnwindSafe for CreateExperimentTemplateStopConditionInputBuilder
impl Send for CreateExperimentTemplateStopConditionInputBuilder
impl Sync for CreateExperimentTemplateStopConditionInputBuilder
impl Unpin for CreateExperimentTemplateStopConditionInputBuilder
impl UnwindSafe for CreateExperimentTemplateStopConditionInputBuilder
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