Struct aws_sdk_workmail::operation::list_mailbox_export_jobs::builders::ListMailboxExportJobsInputBuilder
source · #[non_exhaustive]pub struct ListMailboxExportJobsInputBuilder { /* private fields */ }
Expand description
A builder for ListMailboxExportJobsInput
.
Implementations§
source§impl ListMailboxExportJobsInputBuilder
impl ListMailboxExportJobsInputBuilder
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The organization ID.
This field is required.sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The organization ID.
sourcepub fn get_organization_id(&self) -> &Option<String>
pub fn get_organization_id(&self) -> &Option<String>
The organization ID.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token to use to retrieve the next page of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token to use to retrieve the next page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token to use to retrieve the next page of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in a single call.
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 in a single call.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in a single call.
sourcepub fn build(self) -> Result<ListMailboxExportJobsInput, BuildError>
pub fn build(self) -> Result<ListMailboxExportJobsInput, BuildError>
Consumes the builder and constructs a ListMailboxExportJobsInput
.
source§impl ListMailboxExportJobsInputBuilder
impl ListMailboxExportJobsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListMailboxExportJobsOutput, SdkError<ListMailboxExportJobsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListMailboxExportJobsOutput, SdkError<ListMailboxExportJobsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListMailboxExportJobsInputBuilder
impl Clone for ListMailboxExportJobsInputBuilder
source§fn clone(&self) -> ListMailboxExportJobsInputBuilder
fn clone(&self) -> ListMailboxExportJobsInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for ListMailboxExportJobsInputBuilder
impl Default for ListMailboxExportJobsInputBuilder
source§fn default() -> ListMailboxExportJobsInputBuilder
fn default() -> ListMailboxExportJobsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListMailboxExportJobsInputBuilder
impl PartialEq for ListMailboxExportJobsInputBuilder
source§fn eq(&self, other: &ListMailboxExportJobsInputBuilder) -> bool
fn eq(&self, other: &ListMailboxExportJobsInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListMailboxExportJobsInputBuilder
Auto Trait Implementations§
impl Freeze for ListMailboxExportJobsInputBuilder
impl RefUnwindSafe for ListMailboxExportJobsInputBuilder
impl Send for ListMailboxExportJobsInputBuilder
impl Sync for ListMailboxExportJobsInputBuilder
impl Unpin for ListMailboxExportJobsInputBuilder
impl UnwindSafe for ListMailboxExportJobsInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.