Struct aws_sdk_ssm::operation::describe_maintenance_window_tasks::builders::DescribeMaintenanceWindowTasksInputBuilder
source · #[non_exhaustive]pub struct DescribeMaintenanceWindowTasksInputBuilder { /* private fields */ }
Expand description
A builder for DescribeMaintenanceWindowTasksInput
.
Implementations§
source§impl DescribeMaintenanceWindowTasksInputBuilder
impl DescribeMaintenanceWindowTasksInputBuilder
sourcepub fn window_id(self, input: impl Into<String>) -> Self
pub fn window_id(self, input: impl Into<String>) -> Self
The ID of the maintenance window whose tasks should be retrieved.
This field is required.sourcepub fn set_window_id(self, input: Option<String>) -> Self
pub fn set_window_id(self, input: Option<String>) -> Self
The ID of the maintenance window whose tasks should be retrieved.
sourcepub fn get_window_id(&self) -> &Option<String>
pub fn get_window_id(&self) -> &Option<String>
The ID of the maintenance window whose tasks 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 narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId
, TaskArn
, Priority
, and TaskType
.
sourcepub fn set_filters(self, input: Option<Vec<MaintenanceWindowFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<MaintenanceWindowFilter>>) -> Self
Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId
, TaskArn
, Priority
, and TaskType
.
sourcepub fn get_filters(&self) -> &Option<Vec<MaintenanceWindowFilter>>
pub fn get_filters(&self) -> &Option<Vec<MaintenanceWindowFilter>>
Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId
, TaskArn
, Priority
, and TaskType
.
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<DescribeMaintenanceWindowTasksInput, BuildError>
pub fn build(self) -> Result<DescribeMaintenanceWindowTasksInput, BuildError>
Consumes the builder and constructs a DescribeMaintenanceWindowTasksInput
.
source§impl DescribeMaintenanceWindowTasksInputBuilder
impl DescribeMaintenanceWindowTasksInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeMaintenanceWindowTasksOutput, SdkError<DescribeMaintenanceWindowTasksError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeMaintenanceWindowTasksOutput, SdkError<DescribeMaintenanceWindowTasksError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeMaintenanceWindowTasksInputBuilder
impl Clone for DescribeMaintenanceWindowTasksInputBuilder
source§fn clone(&self) -> DescribeMaintenanceWindowTasksInputBuilder
fn clone(&self) -> DescribeMaintenanceWindowTasksInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeMaintenanceWindowTasksInputBuilder
impl Default for DescribeMaintenanceWindowTasksInputBuilder
source§fn default() -> DescribeMaintenanceWindowTasksInputBuilder
fn default() -> DescribeMaintenanceWindowTasksInputBuilder
source§impl PartialEq for DescribeMaintenanceWindowTasksInputBuilder
impl PartialEq for DescribeMaintenanceWindowTasksInputBuilder
source§fn eq(&self, other: &DescribeMaintenanceWindowTasksInputBuilder) -> bool
fn eq(&self, other: &DescribeMaintenanceWindowTasksInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeMaintenanceWindowTasksInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeMaintenanceWindowTasksInputBuilder
impl RefUnwindSafe for DescribeMaintenanceWindowTasksInputBuilder
impl Send for DescribeMaintenanceWindowTasksInputBuilder
impl Sync for DescribeMaintenanceWindowTasksInputBuilder
impl Unpin for DescribeMaintenanceWindowTasksInputBuilder
impl UnwindSafe for DescribeMaintenanceWindowTasksInputBuilder
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
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>
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>
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 more