Struct aws_sdk_fis::types::builders::ExperimentTemplateBuilder
source · #[non_exhaustive]pub struct ExperimentTemplateBuilder { /* private fields */ }Expand description
A builder for ExperimentTemplate.
Implementations§
source§impl ExperimentTemplateBuilder
impl ExperimentTemplateBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the experiment template.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the experiment template.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the experiment template.
sourcepub fn targets(self, k: impl Into<String>, v: ExperimentTemplateTarget) -> Self
pub fn targets(self, k: impl Into<String>, v: ExperimentTemplateTarget) -> Self
Adds a key-value pair to targets.
To override the contents of this collection use set_targets.
The targets for the experiment.
sourcepub fn set_targets(
self,
input: Option<HashMap<String, ExperimentTemplateTarget>>
) -> Self
pub fn set_targets( self, input: Option<HashMap<String, ExperimentTemplateTarget>> ) -> Self
The targets for the experiment.
sourcepub fn get_targets(&self) -> &Option<HashMap<String, ExperimentTemplateTarget>>
pub fn get_targets(&self) -> &Option<HashMap<String, ExperimentTemplateTarget>>
The targets for the experiment.
sourcepub fn actions(self, k: impl Into<String>, v: ExperimentTemplateAction) -> Self
pub fn actions(self, k: impl Into<String>, v: ExperimentTemplateAction) -> Self
Adds a key-value pair to actions.
To override the contents of this collection use set_actions.
The actions for the experiment.
sourcepub fn set_actions(
self,
input: Option<HashMap<String, ExperimentTemplateAction>>
) -> Self
pub fn set_actions( self, input: Option<HashMap<String, ExperimentTemplateAction>> ) -> Self
The actions for the experiment.
sourcepub fn get_actions(&self) -> &Option<HashMap<String, ExperimentTemplateAction>>
pub fn get_actions(&self) -> &Option<HashMap<String, ExperimentTemplateAction>>
The actions for the experiment.
sourcepub fn stop_conditions(self, input: ExperimentTemplateStopCondition) -> Self
pub fn stop_conditions(self, input: ExperimentTemplateStopCondition) -> Self
Appends an item to stop_conditions.
To override the contents of this collection use set_stop_conditions.
The stop conditions for the experiment.
sourcepub fn set_stop_conditions(
self,
input: Option<Vec<ExperimentTemplateStopCondition>>
) -> Self
pub fn set_stop_conditions( self, input: Option<Vec<ExperimentTemplateStopCondition>> ) -> Self
The stop conditions for the experiment.
sourcepub fn get_stop_conditions(
&self
) -> &Option<Vec<ExperimentTemplateStopCondition>>
pub fn get_stop_conditions( &self ) -> &Option<Vec<ExperimentTemplateStopCondition>>
The stop conditions for the experiment.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time the experiment template was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time the experiment template was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time the experiment template was created.
sourcepub fn last_update_time(self, input: DateTime) -> Self
pub fn last_update_time(self, input: DateTime) -> Self
The time the experiment template was last updated.
sourcepub fn set_last_update_time(self, input: Option<DateTime>) -> Self
pub fn set_last_update_time(self, input: Option<DateTime>) -> Self
The time the experiment template was last updated.
sourcepub fn get_last_update_time(&self) -> &Option<DateTime>
pub fn get_last_update_time(&self) -> &Option<DateTime>
The time the experiment template was last updated.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM role.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The tags for the experiment template.
The tags for the experiment template.
The tags for the experiment template.
sourcepub fn log_configuration(
self,
input: ExperimentTemplateLogConfiguration
) -> Self
pub fn log_configuration( self, input: ExperimentTemplateLogConfiguration ) -> Self
The configuration for experiment logging.
sourcepub fn set_log_configuration(
self,
input: Option<ExperimentTemplateLogConfiguration>
) -> Self
pub fn set_log_configuration( self, input: Option<ExperimentTemplateLogConfiguration> ) -> Self
The configuration for experiment logging.
sourcepub fn get_log_configuration(
&self
) -> &Option<ExperimentTemplateLogConfiguration>
pub fn get_log_configuration( &self ) -> &Option<ExperimentTemplateLogConfiguration>
The configuration for experiment logging.
sourcepub fn experiment_options(
self,
input: ExperimentTemplateExperimentOptions
) -> Self
pub fn experiment_options( self, input: ExperimentTemplateExperimentOptions ) -> Self
The experiment options for an experiment template.
sourcepub fn set_experiment_options(
self,
input: Option<ExperimentTemplateExperimentOptions>
) -> Self
pub fn set_experiment_options( self, input: Option<ExperimentTemplateExperimentOptions> ) -> Self
The experiment options for an experiment template.
sourcepub fn get_experiment_options(
&self
) -> &Option<ExperimentTemplateExperimentOptions>
pub fn get_experiment_options( &self ) -> &Option<ExperimentTemplateExperimentOptions>
The experiment options for an experiment template.
sourcepub fn target_account_configurations_count(self, input: i64) -> Self
pub fn target_account_configurations_count(self, input: i64) -> Self
The count of target account configurations for the experiment template.
sourcepub fn set_target_account_configurations_count(self, input: Option<i64>) -> Self
pub fn set_target_account_configurations_count(self, input: Option<i64>) -> Self
The count of target account configurations for the experiment template.
sourcepub fn get_target_account_configurations_count(&self) -> &Option<i64>
pub fn get_target_account_configurations_count(&self) -> &Option<i64>
The count of target account configurations for the experiment template.
sourcepub fn build(self) -> ExperimentTemplate
pub fn build(self) -> ExperimentTemplate
Consumes the builder and constructs a ExperimentTemplate.
Trait Implementations§
source§impl Clone for ExperimentTemplateBuilder
impl Clone for ExperimentTemplateBuilder
source§fn clone(&self) -> ExperimentTemplateBuilder
fn clone(&self) -> ExperimentTemplateBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExperimentTemplateBuilder
impl Debug for ExperimentTemplateBuilder
source§impl Default for ExperimentTemplateBuilder
impl Default for ExperimentTemplateBuilder
source§fn default() -> ExperimentTemplateBuilder
fn default() -> ExperimentTemplateBuilder
source§impl PartialEq for ExperimentTemplateBuilder
impl PartialEq for ExperimentTemplateBuilder
source§fn eq(&self, other: &ExperimentTemplateBuilder) -> bool
fn eq(&self, other: &ExperimentTemplateBuilder) -> bool
self and other values to be equal, and is used
by ==.