Struct aws_sdk_fsx::types::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§
source§impl 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.
source§impl DataRepositoryTaskFilter
impl DataRepositoryTaskFilter
sourcepub fn builder() -> DataRepositoryTaskFilterBuilder
pub fn builder() -> DataRepositoryTaskFilterBuilder
Creates a new builder-style object to manufacture DataRepositoryTaskFilter
.
Trait Implementations§
source§impl Clone for DataRepositoryTaskFilter
impl Clone for DataRepositoryTaskFilter
source§fn clone(&self) -> DataRepositoryTaskFilter
fn clone(&self) -> DataRepositoryTaskFilter
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataRepositoryTaskFilter
impl Debug for DataRepositoryTaskFilter
source§impl PartialEq for DataRepositoryTaskFilter
impl PartialEq for DataRepositoryTaskFilter
source§fn eq(&self, other: &DataRepositoryTaskFilter) -> bool
fn eq(&self, other: &DataRepositoryTaskFilter) -> bool
self
and other
values to be equal, and is used
by ==
.