Struct aws_sdk_qldb::input::export_journal_to_s3_input::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for ExportJournalToS3Input
Implementations
sourceimpl Builder
impl Builder
sourcepub fn inclusive_start_time(self, input: DateTime) -> Self
pub fn inclusive_start_time(self, input: DateTime) -> Self
The inclusive start date and time for the range of journal contents to export.
The InclusiveStartTime
must be in ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
The InclusiveStartTime
must be before ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's CreationDateTime
, Amazon QLDB defaults it to the ledger's CreationDateTime
.
sourcepub fn set_inclusive_start_time(self, input: Option<DateTime>) -> Self
pub fn set_inclusive_start_time(self, input: Option<DateTime>) -> Self
The inclusive start date and time for the range of journal contents to export.
The InclusiveStartTime
must be in ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
The InclusiveStartTime
must be before ExclusiveEndTime
.
If you provide an InclusiveStartTime
that is before the ledger's CreationDateTime
, Amazon QLDB defaults it to the ledger's CreationDateTime
.
sourcepub fn exclusive_end_time(self, input: DateTime) -> Self
pub fn exclusive_end_time(self, input: DateTime) -> Self
The exclusive end date and time for the range of journal contents to export.
The ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
The ExclusiveEndTime
must be less than or equal to the current UTC date and time.
sourcepub fn set_exclusive_end_time(self, input: Option<DateTime>) -> Self
pub fn set_exclusive_end_time(self, input: Option<DateTime>) -> Self
The exclusive end date and time for the range of journal contents to export.
The ExclusiveEndTime
must be in ISO 8601
date and time format and in Universal Coordinated Time (UTC). For example: 2019-06-13T21:36:34Z
.
The ExclusiveEndTime
must be less than or equal to the current UTC date and time.
sourcepub fn s3_export_configuration(self, input: S3ExportConfiguration) -> Self
pub fn s3_export_configuration(self, input: S3ExportConfiguration) -> Self
The configuration settings of the Amazon S3 bucket destination for your export request.
sourcepub fn set_s3_export_configuration(
self,
input: Option<S3ExportConfiguration>
) -> Self
pub fn set_s3_export_configuration(
self,
input: Option<S3ExportConfiguration>
) -> Self
The configuration settings of the Amazon S3 bucket destination for your export request.
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:
-
Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
-
(Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.
To pass a role to QLDB when requesting a journal export, you must have permissions to perform the iam:PassRole
action on the IAM role resource. This is required for all journal export requests.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the IAM role that grants QLDB permissions for a journal export job to do the following:
-
Write objects into your Amazon Simple Storage Service (Amazon S3) bucket.
-
(Optional) Use your customer managed key in Key Management Service (KMS) for server-side encryption of your exported data.
To pass a role to QLDB when requesting a journal export, you must have permissions to perform the iam:PassRole
action on the IAM role resource. This is required for all journal export requests.
sourcepub fn output_format(self, input: OutputFormat) -> Self
pub fn output_format(self, input: OutputFormat) -> Self
The output format of your exported journal data. If this parameter is not specified, the exported data defaults to ION_TEXT
format.
sourcepub fn set_output_format(self, input: Option<OutputFormat>) -> Self
pub fn set_output_format(self, input: Option<OutputFormat>) -> Self
The output format of your exported journal data. If this parameter is not specified, the exported data defaults to ION_TEXT
format.
sourcepub fn build(self) -> Result<ExportJournalToS3Input, BuildError>
pub fn build(self) -> Result<ExportJournalToS3Input, BuildError>
Consumes the builder and constructs a ExportJournalToS3Input
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more