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
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) -> &[String]
pub fn resource_arns(&self) -> &[String]
The Amazon Resource Names (ARNs) of the targets.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_arns.is_none().
The tags for the target resources.
sourcepub fn filters(&self) -> &[ExperimentTemplateTargetFilter]
pub fn filters(&self) -> &[ExperimentTemplateTargetFilter]
The filters to apply to identify target resources using specific attributes.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none().
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExperimentTemplateTarget
impl Debug for ExperimentTemplateTarget
source§impl PartialEq for ExperimentTemplateTarget
impl PartialEq for ExperimentTemplateTarget
source§fn eq(&self, other: &ExperimentTemplateTarget) -> bool
fn eq(&self, other: &ExperimentTemplateTarget) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExperimentTemplateTarget
Auto Trait Implementations§
impl Freeze for ExperimentTemplateTarget
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more