Struct aws_sdk_emr::operation::list_instance_groups::builders::ListInstanceGroupsInputBuilder
source · #[non_exhaustive]pub struct ListInstanceGroupsInputBuilder { /* private fields */ }Expand description
A builder for ListInstanceGroupsInput.
Implementations§
source§impl ListInstanceGroupsInputBuilder
impl ListInstanceGroupsInputBuilder
sourcepub fn cluster_id(self, input: impl Into<String>) -> Self
pub fn cluster_id(self, input: impl Into<String>) -> Self
The identifier of the cluster for which to list the instance groups.
This field is required.sourcepub fn set_cluster_id(self, input: Option<String>) -> Self
pub fn set_cluster_id(self, input: Option<String>) -> Self
The identifier of the cluster for which to list the instance groups.
sourcepub fn get_cluster_id(&self) -> &Option<String>
pub fn get_cluster_id(&self) -> &Option<String>
The identifier of the cluster for which to list the instance groups.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The pagination token that indicates the next set of results to retrieve.
sourcepub fn set_marker(self, input: Option<String>) -> Self
pub fn set_marker(self, input: Option<String>) -> Self
The pagination token that indicates the next set of results to retrieve.
sourcepub fn get_marker(&self) -> &Option<String>
pub fn get_marker(&self) -> &Option<String>
The pagination token that indicates the next set of results to retrieve.
sourcepub fn build(self) -> Result<ListInstanceGroupsInput, BuildError>
pub fn build(self) -> Result<ListInstanceGroupsInput, BuildError>
Consumes the builder and constructs a ListInstanceGroupsInput.
source§impl ListInstanceGroupsInputBuilder
impl ListInstanceGroupsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListInstanceGroupsOutput, SdkError<ListInstanceGroupsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListInstanceGroupsOutput, SdkError<ListInstanceGroupsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListInstanceGroupsInputBuilder
impl Clone for ListInstanceGroupsInputBuilder
source§fn clone(&self) -> ListInstanceGroupsInputBuilder
fn clone(&self) -> ListInstanceGroupsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for ListInstanceGroupsInputBuilder
impl Default for ListInstanceGroupsInputBuilder
source§fn default() -> ListInstanceGroupsInputBuilder
fn default() -> ListInstanceGroupsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListInstanceGroupsInputBuilder
impl PartialEq for ListInstanceGroupsInputBuilder
source§fn eq(&self, other: &ListInstanceGroupsInputBuilder) -> bool
fn eq(&self, other: &ListInstanceGroupsInputBuilder) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListInstanceGroupsInputBuilder
Auto Trait Implementations§
impl Freeze for ListInstanceGroupsInputBuilder
impl RefUnwindSafe for ListInstanceGroupsInputBuilder
impl Send for ListInstanceGroupsInputBuilder
impl Sync for ListInstanceGroupsInputBuilder
impl Unpin for ListInstanceGroupsInputBuilder
impl UnwindSafe for ListInstanceGroupsInputBuilder
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.