Struct aws_sdk_fis::types::ExperimentTarget
source · #[non_exhaustive]pub struct ExperimentTarget {
pub resource_type: Option<String>,
pub resource_arns: Option<Vec<String>>,
pub resource_tags: Option<HashMap<String, String>>,
pub filters: Option<Vec<ExperimentTargetFilter>>,
pub selection_mode: Option<String>,
pub parameters: Option<HashMap<String, String>>,
}Expand description
Describes a target for an experiment.
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 resources.
The tags for the target resources.
filters: Option<Vec<ExperimentTargetFilter>>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 ExperimentTarget
impl ExperimentTarget
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 resources.
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) -> &[ExperimentTargetFilter]
pub fn filters(&self) -> &[ExperimentTargetFilter]
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 ExperimentTarget
impl ExperimentTarget
sourcepub fn builder() -> ExperimentTargetBuilder
pub fn builder() -> ExperimentTargetBuilder
Creates a new builder-style object to manufacture ExperimentTarget.
Trait Implementations§
source§impl Clone for ExperimentTarget
impl Clone for ExperimentTarget
source§fn clone(&self) -> ExperimentTarget
fn clone(&self) -> ExperimentTarget
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ExperimentTarget
impl Debug for ExperimentTarget
source§impl PartialEq for ExperimentTarget
impl PartialEq for ExperimentTarget
source§fn eq(&self, other: &ExperimentTarget) -> bool
fn eq(&self, other: &ExperimentTarget) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ExperimentTarget
Auto Trait Implementations§
impl Freeze for ExperimentTarget
impl RefUnwindSafe for ExperimentTarget
impl Send for ExperimentTarget
impl Sync for ExperimentTarget
impl Unpin for ExperimentTarget
impl UnwindSafe for ExperimentTarget
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