#[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) -> CreateExperimentTemplateStopConditionInput
pub fn build(self) -> CreateExperimentTemplateStopConditionInput
Consumes the builder and constructs a CreateExperimentTemplateStopConditionInput
.
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<CreateExperimentTemplateStopConditionInputBuilder> for CreateExperimentTemplateStopConditionInputBuilder
impl PartialEq<CreateExperimentTemplateStopConditionInputBuilder> 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 ==
.