Struct aws_sdk_iot::operation::list_detect_mitigation_actions_tasks::builders::ListDetectMitigationActionsTasksInputBuilder
source · #[non_exhaustive]pub struct ListDetectMitigationActionsTasksInputBuilder { /* private fields */ }
Expand description
A builder for ListDetectMitigationActionsTasksInput
.
Implementations§
source§impl ListDetectMitigationActionsTasksInputBuilder
impl ListDetectMitigationActionsTasksInputBuilder
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return at one time. The default is 25.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return at one time. The default is 25.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return at one time. The default is 25.
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 results.
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 results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
This field is required.sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end of the time period for which ML Detect mitigation actions tasks are returned.
This field is required.sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end of the time period for which ML Detect mitigation actions tasks are returned.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end of the time period for which ML Detect mitigation actions tasks are returned.
sourcepub fn build(self) -> Result<ListDetectMitigationActionsTasksInput, BuildError>
pub fn build(self) -> Result<ListDetectMitigationActionsTasksInput, BuildError>
Consumes the builder and constructs a ListDetectMitigationActionsTasksInput
.
source§impl ListDetectMitigationActionsTasksInputBuilder
impl ListDetectMitigationActionsTasksInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListDetectMitigationActionsTasksOutput, SdkError<ListDetectMitigationActionsTasksError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListDetectMitigationActionsTasksOutput, SdkError<ListDetectMitigationActionsTasksError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListDetectMitigationActionsTasksInputBuilder
impl Clone for ListDetectMitigationActionsTasksInputBuilder
source§fn clone(&self) -> ListDetectMitigationActionsTasksInputBuilder
fn clone(&self) -> ListDetectMitigationActionsTasksInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListDetectMitigationActionsTasksInputBuilder
impl Default for ListDetectMitigationActionsTasksInputBuilder
source§fn default() -> ListDetectMitigationActionsTasksInputBuilder
fn default() -> ListDetectMitigationActionsTasksInputBuilder
source§impl PartialEq for ListDetectMitigationActionsTasksInputBuilder
impl PartialEq for ListDetectMitigationActionsTasksInputBuilder
source§fn eq(&self, other: &ListDetectMitigationActionsTasksInputBuilder) -> bool
fn eq(&self, other: &ListDetectMitigationActionsTasksInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDetectMitigationActionsTasksInputBuilder
Auto Trait Implementations§
impl Freeze for ListDetectMitigationActionsTasksInputBuilder
impl RefUnwindSafe for ListDetectMitigationActionsTasksInputBuilder
impl Send for ListDetectMitigationActionsTasksInputBuilder
impl Sync for ListDetectMitigationActionsTasksInputBuilder
impl Unpin for ListDetectMitigationActionsTasksInputBuilder
impl UnwindSafe for ListDetectMitigationActionsTasksInputBuilder
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