Struct aws_sdk_emr::operation::list_instances::ListInstancesInput
source · #[non_exhaustive]pub struct ListInstancesInput {
pub cluster_id: Option<String>,
pub instance_group_id: Option<String>,
pub instance_group_types: Option<Vec<InstanceGroupType>>,
pub instance_fleet_id: Option<String>,
pub instance_fleet_type: Option<InstanceFleetType>,
pub instance_states: Option<Vec<InstanceState>>,
pub marker: Option<String>,
}Expand description
This input determines which instances to list.
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.cluster_id: Option<String>The identifier of the cluster for which to list the instances.
instance_group_id: Option<String>The identifier of the instance group for which to list the instances.
instance_group_types: Option<Vec<InstanceGroupType>>The type of instance group for which to list the instances.
instance_fleet_id: Option<String>The unique identifier of the instance fleet.
instance_fleet_type: Option<InstanceFleetType>The node type of the instance fleet. For example MASTER, CORE, or TASK.
instance_states: Option<Vec<InstanceState>>A list of instance states that will filter the instances returned with this request.
marker: Option<String>The pagination token that indicates the next set of results to retrieve.
Implementations§
source§impl ListInstancesInput
impl ListInstancesInput
sourcepub fn cluster_id(&self) -> Option<&str>
pub fn cluster_id(&self) -> Option<&str>
The identifier of the cluster for which to list the instances.
sourcepub fn instance_group_id(&self) -> Option<&str>
pub fn instance_group_id(&self) -> Option<&str>
The identifier of the instance group for which to list the instances.
sourcepub fn instance_group_types(&self) -> &[InstanceGroupType]
pub fn instance_group_types(&self) -> &[InstanceGroupType]
The type of instance group for which to list the instances.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_group_types.is_none().
sourcepub fn instance_fleet_id(&self) -> Option<&str>
pub fn instance_fleet_id(&self) -> Option<&str>
The unique identifier of the instance fleet.
sourcepub fn instance_fleet_type(&self) -> Option<&InstanceFleetType>
pub fn instance_fleet_type(&self) -> Option<&InstanceFleetType>
The node type of the instance fleet. For example MASTER, CORE, or TASK.
sourcepub fn instance_states(&self) -> &[InstanceState]
pub fn instance_states(&self) -> &[InstanceState]
A list of instance states that will filter the instances returned with this request.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .instance_states.is_none().
source§impl ListInstancesInput
impl ListInstancesInput
sourcepub fn builder() -> ListInstancesInputBuilder
pub fn builder() -> ListInstancesInputBuilder
Creates a new builder-style object to manufacture ListInstancesInput.
Trait Implementations§
source§impl Clone for ListInstancesInput
impl Clone for ListInstancesInput
source§fn clone(&self) -> ListInstancesInput
fn clone(&self) -> ListInstancesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListInstancesInput
impl Debug for ListInstancesInput
source§impl PartialEq for ListInstancesInput
impl PartialEq for ListInstancesInput
impl StructuralPartialEq for ListInstancesInput
Auto Trait Implementations§
impl Freeze for ListInstancesInput
impl RefUnwindSafe for ListInstancesInput
impl Send for ListInstancesInput
impl Sync for ListInstancesInput
impl Unpin for ListInstancesInput
impl UnwindSafe for ListInstancesInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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