Struct aws_sdk_fsx::model::DataRepositoryTaskFilter
source · [−]#[non_exhaustive]pub struct DataRepositoryTaskFilter {
pub name: Option<DataRepositoryTaskFilterName>,
pub values: Option<Vec<String>>,
}
Expand description
(Optional) An array of filter objects you can use to filter the response of data repository tasks you will see in the the response. You can filter the tasks returned in the response by one or more file system IDs, task lifecycles, and by task type. A filter object consists of a filter Name
, and one or more Values
for the filter.
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.name: Option<DataRepositoryTaskFilterName>
Name of the task property to use in filtering the tasks returned in the response.
-
Use
file-system-id
to retrieve data repository tasks for specific file systems. -
Use
task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle states, as follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
values: Option<Vec<String>>
Use Values to include the specific file system IDs and task lifecycle states for the filters you are using.
Implementations
sourceimpl DataRepositoryTaskFilter
impl DataRepositoryTaskFilter
sourcepub fn name(&self) -> Option<&DataRepositoryTaskFilterName>
pub fn name(&self) -> Option<&DataRepositoryTaskFilterName>
Name of the task property to use in filtering the tasks returned in the response.
-
Use
file-system-id
to retrieve data repository tasks for specific file systems. -
Use
task-lifecycle
to retrieve data repository tasks with one or more specific lifecycle states, as follows: CANCELED, EXECUTING, FAILED, PENDING, and SUCCEEDED.
sourceimpl DataRepositoryTaskFilter
impl DataRepositoryTaskFilter
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DataRepositoryTaskFilter
Trait Implementations
sourceimpl Clone for DataRepositoryTaskFilter
impl Clone for DataRepositoryTaskFilter
sourcefn clone(&self) -> DataRepositoryTaskFilter
fn clone(&self) -> DataRepositoryTaskFilter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DataRepositoryTaskFilter
impl Debug for DataRepositoryTaskFilter
sourceimpl PartialEq<DataRepositoryTaskFilter> for DataRepositoryTaskFilter
impl PartialEq<DataRepositoryTaskFilter> for DataRepositoryTaskFilter
sourcefn eq(&self, other: &DataRepositoryTaskFilter) -> bool
fn eq(&self, other: &DataRepositoryTaskFilter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DataRepositoryTaskFilter) -> bool
fn ne(&self, other: &DataRepositoryTaskFilter) -> bool
This method tests for !=
.
impl StructuralPartialEq for DataRepositoryTaskFilter
Auto Trait Implementations
impl RefUnwindSafe for DataRepositoryTaskFilter
impl Send for DataRepositoryTaskFilter
impl Sync for DataRepositoryTaskFilter
impl Unpin for DataRepositoryTaskFilter
impl UnwindSafe for DataRepositoryTaskFilter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more