Struct aws_sdk_cloudwatchlogs::operation::describe_export_tasks::builders::DescribeExportTasksInputBuilder
source · #[non_exhaustive]pub struct DescribeExportTasksInputBuilder { /* private fields */ }
Expand description
A builder for DescribeExportTasksInput
.
Implementations§
source§impl DescribeExportTasksInputBuilder
impl DescribeExportTasksInputBuilder
sourcepub fn task_id(self, input: impl Into<String>) -> Self
pub fn task_id(self, input: impl Into<String>) -> Self
The ID of the export task. Specifying a task ID filters the results to one or zero export tasks.
sourcepub fn set_task_id(self, input: Option<String>) -> Self
pub fn set_task_id(self, input: Option<String>) -> Self
The ID of the export task. Specifying a task ID filters the results to one or zero export tasks.
sourcepub fn get_task_id(&self) -> &Option<String>
pub fn get_task_id(&self) -> &Option<String>
The ID of the export task. Specifying a task ID filters the results to one or zero export tasks.
sourcepub fn status_code(self, input: ExportTaskStatusCode) -> Self
pub fn status_code(self, input: ExportTaskStatusCode) -> Self
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
sourcepub fn set_status_code(self, input: Option<ExportTaskStatusCode>) -> Self
pub fn set_status_code(self, input: Option<ExportTaskStatusCode>) -> Self
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
sourcepub fn get_status_code(&self) -> &Option<ExportTaskStatusCode>
pub fn get_status_code(&self) -> &Option<ExportTaskStatusCode>
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
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 limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
sourcepub fn get_limit(&self) -> &Option<i32>
pub fn get_limit(&self) -> &Option<i32>
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
sourcepub fn build(self) -> Result<DescribeExportTasksInput, BuildError>
pub fn build(self) -> Result<DescribeExportTasksInput, BuildError>
Consumes the builder and constructs a DescribeExportTasksInput
.
source§impl DescribeExportTasksInputBuilder
impl DescribeExportTasksInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeExportTasksOutput, SdkError<DescribeExportTasksError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeExportTasksOutput, SdkError<DescribeExportTasksError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeExportTasksInputBuilder
impl Clone for DescribeExportTasksInputBuilder
source§fn clone(&self) -> DescribeExportTasksInputBuilder
fn clone(&self) -> DescribeExportTasksInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeExportTasksInputBuilder
impl Default for DescribeExportTasksInputBuilder
source§fn default() -> DescribeExportTasksInputBuilder
fn default() -> DescribeExportTasksInputBuilder
source§impl PartialEq for DescribeExportTasksInputBuilder
impl PartialEq for DescribeExportTasksInputBuilder
source§fn eq(&self, other: &DescribeExportTasksInputBuilder) -> bool
fn eq(&self, other: &DescribeExportTasksInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeExportTasksInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeExportTasksInputBuilder
impl RefUnwindSafe for DescribeExportTasksInputBuilder
impl Send for DescribeExportTasksInputBuilder
impl Sync for DescribeExportTasksInputBuilder
impl Unpin for DescribeExportTasksInputBuilder
impl UnwindSafe for DescribeExportTasksInputBuilder
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