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
source§fn eq(&self, other: &ListInstancesInput) -> bool
fn eq(&self, other: &ListInstancesInput) -> bool
self
and other
values to be equal, and is used
by ==
.