Struct aws_sdk_emr::operation::list_steps::builders::ListStepsFluentBuilder
source · pub struct ListStepsFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListSteps
.
Provides a list of steps for the cluster in reverse order unless you specify stepIds
with the request or filter by StepStates
. You can specify a maximum of 10 stepIDs
. The CLI automatically paginates results to return a list greater than 50 steps. To return more than 50 steps using the CLI, specify a Marker
, which is a pagination token that indicates the next set of steps to retrieve.
Implementations§
source§impl ListStepsFluentBuilder
impl ListStepsFluentBuilder
sourcepub fn as_input(&self) -> &ListStepsInputBuilder
pub fn as_input(&self) -> &ListStepsInputBuilder
Access the ListSteps as a reference.
sourcepub async fn send(
self
) -> Result<ListStepsOutput, SdkError<ListStepsError, HttpResponse>>
pub async fn send( self ) -> Result<ListStepsOutput, SdkError<ListStepsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListStepsOutput, ListStepsError, Self>
pub fn customize( self ) -> CustomizableOperation<ListStepsOutput, ListStepsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListStepsPaginator
pub fn into_paginator(self) -> ListStepsPaginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
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 steps.
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 steps.
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 steps.
sourcepub fn step_states(self, input: StepState) -> Self
pub fn step_states(self, input: StepState) -> Self
Appends an item to StepStates
.
To override the contents of this collection use set_step_states
.
The filter to limit the step list based on certain states.
sourcepub fn set_step_states(self, input: Option<Vec<StepState>>) -> Self
pub fn set_step_states(self, input: Option<Vec<StepState>>) -> Self
The filter to limit the step list based on certain states.
sourcepub fn get_step_states(&self) -> &Option<Vec<StepState>>
pub fn get_step_states(&self) -> &Option<Vec<StepState>>
The filter to limit the step list based on certain states.
sourcepub fn step_ids(self, input: impl Into<String>) -> Self
pub fn step_ids(self, input: impl Into<String>) -> Self
Appends an item to StepIds
.
To override the contents of this collection use set_step_ids
.
The filter to limit the step list based on the identifier of the steps. You can specify a maximum of ten Step IDs. The character constraint applies to the overall length of the array.
sourcepub fn set_step_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_step_ids(self, input: Option<Vec<String>>) -> Self
The filter to limit the step list based on the identifier of the steps. You can specify a maximum of ten Step IDs. The character constraint applies to the overall length of the array.
sourcepub fn get_step_ids(&self) -> &Option<Vec<String>>
pub fn get_step_ids(&self) -> &Option<Vec<String>>
The filter to limit the step list based on the identifier of the steps. You can specify a maximum of ten Step IDs. The character constraint applies to the overall length of the array.
sourcepub fn marker(self, input: impl Into<String>) -> Self
pub fn marker(self, input: impl Into<String>) -> Self
The maximum number of steps that a single ListSteps
action returns is 50. To return a longer list of steps, use multiple ListSteps
actions along with the Marker
parameter, which is a 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 maximum number of steps that a single ListSteps
action returns is 50. To return a longer list of steps, use multiple ListSteps
actions along with the Marker
parameter, which is a 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 maximum number of steps that a single ListSteps
action returns is 50. To return a longer list of steps, use multiple ListSteps
actions along with the Marker
parameter, which is a pagination token that indicates the next set of results to retrieve.
Trait Implementations§
source§impl Clone for ListStepsFluentBuilder
impl Clone for ListStepsFluentBuilder
source§fn clone(&self) -> ListStepsFluentBuilder
fn clone(&self) -> ListStepsFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more