Struct aws_sdk_qldb::operation::export_journal_to_s3::builders::ExportJournalToS3InputBuilder
source · #[non_exhaustive]pub struct ExportJournalToS3InputBuilder { /* private fields */ }Expand description
A builder for ExportJournalToS3Input.
Implementations§
source§impl ExportJournalToS3InputBuilder
impl ExportJournalToS3InputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the ledger.
This field is required.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 get_inclusive_start_time(&self) -> &Option<DateTime>
pub fn get_inclusive_start_time(&self) -> &Option<DateTime>
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 get_exclusive_end_time(&self) -> &Option<DateTime>
pub fn get_exclusive_end_time(&self) -> &Option<DateTime>
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.
This field is required.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 get_s3_export_configuration(&self) -> &Option<S3ExportConfiguration>
pub fn get_s3_export_configuration(&self) -> &Option<S3ExportConfiguration>
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 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 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 get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
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 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. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default: ION_TEXT
In JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
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. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default: ION_TEXT
In JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
sourcepub fn get_output_format(&self) -> &Option<OutputFormat>
pub fn get_output_format(&self) -> &Option<OutputFormat>
The output format of your exported journal data. A journal export job can write the data objects in either the text or binary representation of Amazon Ion format, or in JSON Lines text format.
Default: ION_TEXT
In JSON Lines format, each journal block in an exported data object is a valid JSON object that is delimited by a newline. You can use this format to directly integrate JSON exports with analytics tools such as Amazon Athena and Glue because these services can parse newline-delimited JSON automatically.
sourcepub fn build(self) -> Result<ExportJournalToS3Input, BuildError>
pub fn build(self) -> Result<ExportJournalToS3Input, BuildError>
Consumes the builder and constructs a ExportJournalToS3Input.
source§impl ExportJournalToS3InputBuilder
impl ExportJournalToS3InputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ExportJournalToS3Output, SdkError<ExportJournalToS3Error, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ExportJournalToS3Output, SdkError<ExportJournalToS3Error, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ExportJournalToS3InputBuilder
impl Clone for ExportJournalToS3InputBuilder
source§fn clone(&self) -> ExportJournalToS3InputBuilder
fn clone(&self) -> ExportJournalToS3InputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ExportJournalToS3InputBuilder
impl Default for ExportJournalToS3InputBuilder
source§fn default() -> ExportJournalToS3InputBuilder
fn default() -> ExportJournalToS3InputBuilder
source§impl PartialEq for ExportJournalToS3InputBuilder
impl PartialEq for ExportJournalToS3InputBuilder
source§fn eq(&self, other: &ExportJournalToS3InputBuilder) -> bool
fn eq(&self, other: &ExportJournalToS3InputBuilder) -> bool
self and other values to be equal, and is used
by ==.