#[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 ==.