pub struct Builder { /* private fields */ }
Expand description
A builder for ListPipelineExecutionsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn pipeline_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline.
sourcepub fn created_after(self, input: DateTime) -> Self
pub fn created_after(self, input: DateTime) -> Self
A filter that returns the pipeline executions that were created after a specified time.
sourcepub fn set_created_after(self, input: Option<DateTime>) -> Self
pub fn set_created_after(self, input: Option<DateTime>) -> Self
A filter that returns the pipeline executions that were created after a specified time.
sourcepub fn created_before(self, input: DateTime) -> Self
pub fn created_before(self, input: DateTime) -> Self
A filter that returns the pipeline executions that were created before a specified time.
sourcepub fn set_created_before(self, input: Option<DateTime>) -> Self
pub fn set_created_before(self, input: Option<DateTime>) -> Self
A filter that returns the pipeline executions that were created before a specified time.
sourcepub fn sort_by(self, input: SortPipelineExecutionsBy) -> Self
pub fn sort_by(self, input: SortPipelineExecutionsBy) -> Self
The field by which to sort results. The default is CreatedTime
.
sourcepub fn set_sort_by(self, input: Option<SortPipelineExecutionsBy>) -> Self
pub fn set_sort_by(self, input: Option<SortPipelineExecutionsBy>) -> Self
The field by which to sort results. The default is CreatedTime
.
sourcepub fn sort_order(self, input: SortOrder) -> Self
pub fn sort_order(self, input: SortOrder) -> Self
The sort order for results.
sourcepub fn set_sort_order(self, input: Option<SortOrder>) -> Self
pub fn set_sort_order(self, input: Option<SortOrder>) -> Self
The sort order for results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the result of the previous ListPipelineExecutions
request was truncated, the response includes a NextToken
. To retrieve the next set of pipeline executions, use the token in the next request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the result of the previous ListPipelineExecutions
request was truncated, the response includes a NextToken
. To retrieve the next set of pipeline executions, use the token in the next request.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of pipeline executions to return in the response.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of pipeline executions to return in the response.
sourcepub fn build(self) -> Result<ListPipelineExecutionsInput, BuildError>
pub fn build(self) -> Result<ListPipelineExecutionsInput, BuildError>
Consumes the builder and constructs a ListPipelineExecutionsInput
.