Struct aws_sdk_emr::operation::list_clusters::ListClustersInput
source · #[non_exhaustive]pub struct ListClustersInput {
pub created_after: Option<DateTime>,
pub created_before: Option<DateTime>,
pub cluster_states: Option<Vec<ClusterState>>,
pub marker: Option<String>,
}Expand description
This input determines how the ListClusters action filters the list of clusters that it returns.
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.created_after: Option<DateTime>The creation date and time beginning value filter for listing clusters.
created_before: Option<DateTime>The creation date and time end value filter for listing clusters.
cluster_states: Option<Vec<ClusterState>>The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
marker: Option<String>The pagination token that indicates the next set of results to retrieve.
Implementations§
source§impl ListClustersInput
impl ListClustersInput
sourcepub fn created_after(&self) -> Option<&DateTime>
pub fn created_after(&self) -> Option<&DateTime>
The creation date and time beginning value filter for listing clusters.
sourcepub fn created_before(&self) -> Option<&DateTime>
pub fn created_before(&self) -> Option<&DateTime>
The creation date and time end value filter for listing clusters.
sourcepub fn cluster_states(&self) -> &[ClusterState]
pub fn cluster_states(&self) -> &[ClusterState]
The cluster state filters to apply when listing clusters. Clusters that change state while this action runs may be not be returned as expected in the list of clusters.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .cluster_states.is_none().
source§impl ListClustersInput
impl ListClustersInput
sourcepub fn builder() -> ListClustersInputBuilder
pub fn builder() -> ListClustersInputBuilder
Creates a new builder-style object to manufacture ListClustersInput.
Trait Implementations§
source§impl Clone for ListClustersInput
impl Clone for ListClustersInput
source§fn clone(&self) -> ListClustersInput
fn clone(&self) -> ListClustersInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListClustersInput
impl Debug for ListClustersInput
source§impl PartialEq for ListClustersInput
impl PartialEq for ListClustersInput
source§fn eq(&self, other: &ListClustersInput) -> bool
fn eq(&self, other: &ListClustersInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListClustersInput
Auto Trait Implementations§
impl Freeze for ListClustersInput
impl RefUnwindSafe for ListClustersInput
impl Send for ListClustersInput
impl Sync for ListClustersInput
impl Unpin for ListClustersInput
impl UnwindSafe for ListClustersInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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