Struct aws_sdk_ssm::operation::describe_maintenance_window_execution_tasks::builders::DescribeMaintenanceWindowExecutionTasksInputBuilder
source · #[non_exhaustive]pub struct DescribeMaintenanceWindowExecutionTasksInputBuilder { /* private fields */ }
Expand description
A builder for DescribeMaintenanceWindowExecutionTasksInput
.
Implementations§
source§impl DescribeMaintenanceWindowExecutionTasksInputBuilder
impl DescribeMaintenanceWindowExecutionTasksInputBuilder
sourcepub fn window_execution_id(self, input: impl Into<String>) -> Self
pub fn window_execution_id(self, input: impl Into<String>) -> Self
The ID of the maintenance window execution whose task executions should be retrieved.
This field is required.sourcepub fn set_window_execution_id(self, input: Option<String>) -> Self
pub fn set_window_execution_id(self, input: Option<String>) -> Self
The ID of the maintenance window execution whose task executions should be retrieved.
sourcepub fn get_window_execution_id(&self) -> &Option<String>
pub fn get_window_execution_id(&self) -> &Option<String>
The ID of the maintenance window execution whose task executions should be retrieved.
sourcepub fn filters(self, input: MaintenanceWindowFilter) -> Self
pub fn filters(self, input: MaintenanceWindowFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
Optional filters used to scope down the returned tasks. The supported filter key is STATUS
with the corresponding values PENDING
, IN_PROGRESS
, SUCCESS
, FAILED
, TIMED_OUT
, CANCELLING
, and CANCELLED
.
sourcepub fn set_filters(self, input: Option<Vec<MaintenanceWindowFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<MaintenanceWindowFilter>>) -> Self
Optional filters used to scope down the returned tasks. The supported filter key is STATUS
with the corresponding values PENDING
, IN_PROGRESS
, SUCCESS
, FAILED
, TIMED_OUT
, CANCELLING
, and CANCELLED
.
sourcepub fn get_filters(&self) -> &Option<Vec<MaintenanceWindowFilter>>
pub fn get_filters(&self) -> &Option<Vec<MaintenanceWindowFilter>>
Optional filters used to scope down the returned tasks. The supported filter key is STATUS
with the corresponding values PENDING
, IN_PROGRESS
, SUCCESS
, FAILED
, TIMED_OUT
, CANCELLING
, and CANCELLED
.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. (You received this token from a previous call.)
sourcepub fn build(
self
) -> Result<DescribeMaintenanceWindowExecutionTasksInput, BuildError>
pub fn build( self ) -> Result<DescribeMaintenanceWindowExecutionTasksInput, BuildError>
Consumes the builder and constructs a DescribeMaintenanceWindowExecutionTasksInput
.
source§impl DescribeMaintenanceWindowExecutionTasksInputBuilder
impl DescribeMaintenanceWindowExecutionTasksInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeMaintenanceWindowExecutionTasksOutput, SdkError<DescribeMaintenanceWindowExecutionTasksError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeMaintenanceWindowExecutionTasksOutput, SdkError<DescribeMaintenanceWindowExecutionTasksError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeMaintenanceWindowExecutionTasksInputBuilder
impl Clone for DescribeMaintenanceWindowExecutionTasksInputBuilder
source§fn clone(&self) -> DescribeMaintenanceWindowExecutionTasksInputBuilder
fn clone(&self) -> DescribeMaintenanceWindowExecutionTasksInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeMaintenanceWindowExecutionTasksInputBuilder
impl Default for DescribeMaintenanceWindowExecutionTasksInputBuilder
source§fn default() -> DescribeMaintenanceWindowExecutionTasksInputBuilder
fn default() -> DescribeMaintenanceWindowExecutionTasksInputBuilder
source§impl PartialEq for DescribeMaintenanceWindowExecutionTasksInputBuilder
impl PartialEq for DescribeMaintenanceWindowExecutionTasksInputBuilder
source§fn eq(
&self,
other: &DescribeMaintenanceWindowExecutionTasksInputBuilder
) -> bool
fn eq( &self, other: &DescribeMaintenanceWindowExecutionTasksInputBuilder ) -> bool
self
and other
values to be equal, and is used
by ==
.