Struct aws_sdk_workmail::operation::describe_mailbox_export_job::builders::DescribeMailboxExportJobOutputBuilder
source · #[non_exhaustive]pub struct DescribeMailboxExportJobOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeMailboxExportJobOutput
.
Implementations§
source§impl DescribeMailboxExportJobOutputBuilder
impl DescribeMailboxExportJobOutputBuilder
sourcepub fn entity_id(self, input: impl Into<String>) -> Self
pub fn entity_id(self, input: impl Into<String>) -> Self
The identifier of the user or resource associated with the mailbox.
sourcepub fn set_entity_id(self, input: Option<String>) -> Self
pub fn set_entity_id(self, input: Option<String>) -> Self
The identifier of the user or resource associated with the mailbox.
sourcepub fn get_entity_id(&self) -> &Option<String>
pub fn get_entity_id(&self) -> &Option<String>
The identifier of the user or resource associated with the mailbox.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The mailbox export job description.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The mailbox export job description.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The mailbox export job description.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple Storage Service (Amazon S3) bucket.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple Storage Service (Amazon S3) bucket.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the AWS Identity and Access Management (IAM) role that grants write permission to the Amazon Simple Storage Service (Amazon S3) bucket.
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the symmetric AWS Key Management Service (AWS KMS) key that encrypts the exported mailbox content.
sourcepub fn s3_bucket_name(self, input: impl Into<String>) -> Self
pub fn s3_bucket_name(self, input: impl Into<String>) -> Self
The name of the S3 bucket.
sourcepub fn set_s3_bucket_name(self, input: Option<String>) -> Self
pub fn set_s3_bucket_name(self, input: Option<String>) -> Self
The name of the S3 bucket.
sourcepub fn get_s3_bucket_name(&self) -> &Option<String>
pub fn get_s3_bucket_name(&self) -> &Option<String>
The name of the S3 bucket.
sourcepub fn set_s3_prefix(self, input: Option<String>) -> Self
pub fn set_s3_prefix(self, input: Option<String>) -> Self
The S3 bucket prefix.
sourcepub fn get_s3_prefix(&self) -> &Option<String>
pub fn get_s3_prefix(&self) -> &Option<String>
The S3 bucket prefix.
sourcepub fn s3_path(self, input: impl Into<String>) -> Self
pub fn s3_path(self, input: impl Into<String>) -> Self
The path to the S3 bucket and file that the mailbox export job is exporting to.
sourcepub fn set_s3_path(self, input: Option<String>) -> Self
pub fn set_s3_path(self, input: Option<String>) -> Self
The path to the S3 bucket and file that the mailbox export job is exporting to.
sourcepub fn get_s3_path(&self) -> &Option<String>
pub fn get_s3_path(&self) -> &Option<String>
The path to the S3 bucket and file that the mailbox export job is exporting to.
sourcepub fn estimated_progress(self, input: i32) -> Self
pub fn estimated_progress(self, input: i32) -> Self
The estimated progress of the mailbox export job, in percentage points.
sourcepub fn set_estimated_progress(self, input: Option<i32>) -> Self
pub fn set_estimated_progress(self, input: Option<i32>) -> Self
The estimated progress of the mailbox export job, in percentage points.
sourcepub fn get_estimated_progress(&self) -> &Option<i32>
pub fn get_estimated_progress(&self) -> &Option<i32>
The estimated progress of the mailbox export job, in percentage points.
sourcepub fn state(self, input: MailboxExportJobState) -> Self
pub fn state(self, input: MailboxExportJobState) -> Self
The state of the mailbox export job.
sourcepub fn set_state(self, input: Option<MailboxExportJobState>) -> Self
pub fn set_state(self, input: Option<MailboxExportJobState>) -> Self
The state of the mailbox export job.
sourcepub fn get_state(&self) -> &Option<MailboxExportJobState>
pub fn get_state(&self) -> &Option<MailboxExportJobState>
The state of the mailbox export job.
sourcepub fn error_info(self, input: impl Into<String>) -> Self
pub fn error_info(self, input: impl Into<String>) -> Self
Error information for failed mailbox export jobs.
sourcepub fn set_error_info(self, input: Option<String>) -> Self
pub fn set_error_info(self, input: Option<String>) -> Self
Error information for failed mailbox export jobs.
sourcepub fn get_error_info(&self) -> &Option<String>
pub fn get_error_info(&self) -> &Option<String>
Error information for failed mailbox export jobs.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The mailbox export job start timestamp.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The mailbox export job start timestamp.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The mailbox export job start timestamp.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The mailbox export job end timestamp.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The mailbox export job end timestamp.
sourcepub fn build(self) -> DescribeMailboxExportJobOutput
pub fn build(self) -> DescribeMailboxExportJobOutput
Consumes the builder and constructs a DescribeMailboxExportJobOutput
.
Trait Implementations§
source§impl Clone for DescribeMailboxExportJobOutputBuilder
impl Clone for DescribeMailboxExportJobOutputBuilder
source§fn clone(&self) -> DescribeMailboxExportJobOutputBuilder
fn clone(&self) -> DescribeMailboxExportJobOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeMailboxExportJobOutputBuilder
impl Default for DescribeMailboxExportJobOutputBuilder
source§fn default() -> DescribeMailboxExportJobOutputBuilder
fn default() -> DescribeMailboxExportJobOutputBuilder
source§impl PartialEq for DescribeMailboxExportJobOutputBuilder
impl PartialEq for DescribeMailboxExportJobOutputBuilder
source§fn eq(&self, other: &DescribeMailboxExportJobOutputBuilder) -> bool
fn eq(&self, other: &DescribeMailboxExportJobOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeMailboxExportJobOutputBuilder
Auto Trait Implementations§
impl Freeze for DescribeMailboxExportJobOutputBuilder
impl RefUnwindSafe for DescribeMailboxExportJobOutputBuilder
impl Send for DescribeMailboxExportJobOutputBuilder
impl Sync for DescribeMailboxExportJobOutputBuilder
impl Unpin for DescribeMailboxExportJobOutputBuilder
impl UnwindSafe for DescribeMailboxExportJobOutputBuilder
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