Struct aws_sdk_fis::types::ExperimentTemplateTarget
source · #[non_exhaustive]pub struct ExperimentTemplateTarget {
pub resource_type: Option<String>,
pub resource_arns: Option<Vec<String>>,
pub resource_tags: Option<HashMap<String, String>>,
pub filters: Option<Vec<ExperimentTemplateTargetFilter>>,
pub selection_mode: Option<String>,
pub parameters: Option<HashMap<String, String>>,
}
Expand description
Describes a target for an experiment template.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.resource_type: Option<String>
The resource type.
resource_arns: Option<Vec<String>>
The Amazon Resource Names (ARNs) of the targets.
The tags for the target resources.
filters: Option<Vec<ExperimentTemplateTargetFilter>>
The filters to apply to identify target resources using specific attributes.
selection_mode: Option<String>
Scopes the identified resources to a specific count or percentage.
parameters: Option<HashMap<String, String>>
The resource type parameters.
Implementations§
source§impl ExperimentTemplateTarget
impl ExperimentTemplateTarget
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The resource type.
sourcepub fn resource_arns(&self) -> Option<&[String]>
pub fn resource_arns(&self) -> Option<&[String]>
The Amazon Resource Names (ARNs) of the targets.
The tags for the target resources.
sourcepub fn filters(&self) -> Option<&[ExperimentTemplateTargetFilter]>
pub fn filters(&self) -> Option<&[ExperimentTemplateTargetFilter]>
The filters to apply to identify target resources using specific attributes.
sourcepub fn selection_mode(&self) -> Option<&str>
pub fn selection_mode(&self) -> Option<&str>
Scopes the identified resources to a specific count or percentage.
source§impl ExperimentTemplateTarget
impl ExperimentTemplateTarget
sourcepub fn builder() -> ExperimentTemplateTargetBuilder
pub fn builder() -> ExperimentTemplateTargetBuilder
Creates a new builder-style object to manufacture ExperimentTemplateTarget
.
Trait Implementations§
source§impl Clone for ExperimentTemplateTarget
impl Clone for ExperimentTemplateTarget
source§fn clone(&self) -> ExperimentTemplateTarget
fn clone(&self) -> ExperimentTemplateTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExperimentTemplateTarget
impl Debug for ExperimentTemplateTarget
source§impl PartialEq<ExperimentTemplateTarget> for ExperimentTemplateTarget
impl PartialEq<ExperimentTemplateTarget> for ExperimentTemplateTarget
source§fn eq(&self, other: &ExperimentTemplateTarget) -> bool
fn eq(&self, other: &ExperimentTemplateTarget) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExperimentTemplateTarget
Auto Trait Implementations§
impl RefUnwindSafe for ExperimentTemplateTarget
impl Send for ExperimentTemplateTarget
impl Sync for ExperimentTemplateTarget
impl Unpin for ExperimentTemplateTarget
impl UnwindSafe for ExperimentTemplateTarget
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
Mutably borrows from an owned value. Read more