Struct aws_sdk_fis::types::ExperimentTemplate
source · #[non_exhaustive]pub struct ExperimentTemplate {
pub id: Option<String>,
pub description: Option<String>,
pub targets: Option<HashMap<String, ExperimentTemplateTarget>>,
pub actions: Option<HashMap<String, ExperimentTemplateAction>>,
pub stop_conditions: Option<Vec<ExperimentTemplateStopCondition>>,
pub creation_time: Option<DateTime>,
pub last_update_time: Option<DateTime>,
pub role_arn: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub log_configuration: Option<ExperimentTemplateLogConfiguration>,
pub experiment_options: Option<ExperimentTemplateExperimentOptions>,
pub target_account_configurations_count: Option<i64>,
}
Expand description
Describes an experiment template.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
The ID of the experiment template.
description: Option<String>
The description for the experiment template.
targets: Option<HashMap<String, ExperimentTemplateTarget>>
The targets for the experiment.
actions: Option<HashMap<String, ExperimentTemplateAction>>
The actions for the experiment.
stop_conditions: Option<Vec<ExperimentTemplateStopCondition>>
The stop conditions for the experiment.
creation_time: Option<DateTime>
The time the experiment template was created.
last_update_time: Option<DateTime>
The time the experiment template was last updated.
role_arn: Option<String>
The Amazon Resource Name (ARN) of an IAM role.
The tags for the experiment template.
log_configuration: Option<ExperimentTemplateLogConfiguration>
The configuration for experiment logging.
experiment_options: Option<ExperimentTemplateExperimentOptions>
The experiment options for an experiment template.
target_account_configurations_count: Option<i64>
The count of target account configurations for the experiment template.
Implementations§
source§impl ExperimentTemplate
impl ExperimentTemplate
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description for the experiment template.
sourcepub fn targets(&self) -> Option<&HashMap<String, ExperimentTemplateTarget>>
pub fn targets(&self) -> Option<&HashMap<String, ExperimentTemplateTarget>>
The targets for the experiment.
sourcepub fn actions(&self) -> Option<&HashMap<String, ExperimentTemplateAction>>
pub fn actions(&self) -> Option<&HashMap<String, ExperimentTemplateAction>>
The actions for the experiment.
sourcepub fn stop_conditions(&self) -> &[ExperimentTemplateStopCondition]
pub fn stop_conditions(&self) -> &[ExperimentTemplateStopCondition]
The stop conditions for the experiment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stop_conditions.is_none()
.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The time the experiment template was created.
sourcepub fn last_update_time(&self) -> Option<&DateTime>
pub fn last_update_time(&self) -> Option<&DateTime>
The time the experiment template was last updated.
The tags for the experiment template.
sourcepub fn log_configuration(&self) -> Option<&ExperimentTemplateLogConfiguration>
pub fn log_configuration(&self) -> Option<&ExperimentTemplateLogConfiguration>
The configuration for experiment logging.
sourcepub fn experiment_options(&self) -> Option<&ExperimentTemplateExperimentOptions>
pub fn experiment_options(&self) -> Option<&ExperimentTemplateExperimentOptions>
The experiment options for an experiment template.
sourcepub fn target_account_configurations_count(&self) -> Option<i64>
pub fn target_account_configurations_count(&self) -> Option<i64>
The count of target account configurations for the experiment template.
source§impl ExperimentTemplate
impl ExperimentTemplate
sourcepub fn builder() -> ExperimentTemplateBuilder
pub fn builder() -> ExperimentTemplateBuilder
Creates a new builder-style object to manufacture ExperimentTemplate
.
Trait Implementations§
source§impl Clone for ExperimentTemplate
impl Clone for ExperimentTemplate
source§fn clone(&self) -> ExperimentTemplate
fn clone(&self) -> ExperimentTemplate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ExperimentTemplate
impl Debug for ExperimentTemplate
source§impl PartialEq for ExperimentTemplate
impl PartialEq for ExperimentTemplate
source§fn eq(&self, other: &ExperimentTemplate) -> bool
fn eq(&self, other: &ExperimentTemplate) -> bool
self
and other
values to be equal, and is used
by ==
.