#[non_exhaustive]pub struct StartExportTaskOutputBuilder { /* private fields */ }
Expand description
A builder for StartExportTaskOutput
.
Implementations§
source§impl StartExportTaskOutputBuilder
impl StartExportTaskOutputBuilder
sourcepub fn export_task_identifier(self, input: impl Into<String>) -> Self
pub fn export_task_identifier(self, input: impl Into<String>) -> Self
A unique identifier for the snapshot or cluster export task. This ID isn't an identifier for the Amazon S3 bucket where the data is exported.
sourcepub fn set_export_task_identifier(self, input: Option<String>) -> Self
pub fn set_export_task_identifier(self, input: Option<String>) -> Self
A unique identifier for the snapshot or cluster export task. This ID isn't an identifier for the Amazon S3 bucket where the data is exported.
sourcepub fn get_export_task_identifier(&self) -> &Option<String>
pub fn get_export_task_identifier(&self) -> &Option<String>
A unique identifier for the snapshot or cluster export task. This ID isn't an identifier for the Amazon S3 bucket where the data is exported.
sourcepub fn source_arn(self, input: impl Into<String>) -> Self
pub fn source_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.
sourcepub fn set_source_arn(self, input: Option<String>) -> Self
pub fn set_source_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.
sourcepub fn get_source_arn(&self) -> &Option<String>
pub fn get_source_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the snapshot or cluster exported to Amazon S3.
sourcepub fn export_only(self, input: impl Into<String>) -> Self
pub fn export_only(self, input: impl Into<String>) -> Self
Appends an item to export_only
.
To override the contents of this collection use set_export_only
.
The data exported from the snapshot or cluster.
Valid Values:
-
database
- Export all the data from a specified database. -
database.table
table-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schema
schema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.table
table-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
sourcepub fn set_export_only(self, input: Option<Vec<String>>) -> Self
pub fn set_export_only(self, input: Option<Vec<String>>) -> Self
The data exported from the snapshot or cluster.
Valid Values:
-
database
- Export all the data from a specified database. -
database.table
table-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schema
schema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.table
table-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
sourcepub fn get_export_only(&self) -> &Option<Vec<String>>
pub fn get_export_only(&self) -> &Option<Vec<String>>
The data exported from the snapshot or cluster.
Valid Values:
-
database
- Export all the data from a specified database. -
database.table
table-name - Export a table of the snapshot or cluster. This format is valid only for RDS for MySQL, RDS for MariaDB, and Aurora MySQL. -
database.schema
schema-name - Export a database schema of the snapshot or cluster. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL. -
database.schema.table
table-name - Export a table of the database schema. This format is valid only for RDS for PostgreSQL and Aurora PostgreSQL.
sourcepub fn snapshot_time(self, input: DateTime) -> Self
pub fn snapshot_time(self, input: DateTime) -> Self
The time when the snapshot was created.
sourcepub fn set_snapshot_time(self, input: Option<DateTime>) -> Self
pub fn set_snapshot_time(self, input: Option<DateTime>) -> Self
The time when the snapshot was created.
sourcepub fn get_snapshot_time(&self) -> &Option<DateTime>
pub fn get_snapshot_time(&self) -> &Option<DateTime>
The time when the snapshot was created.
sourcepub fn task_start_time(self, input: DateTime) -> Self
pub fn task_start_time(self, input: DateTime) -> Self
The time when the snapshot or cluster export task started.
sourcepub fn set_task_start_time(self, input: Option<DateTime>) -> Self
pub fn set_task_start_time(self, input: Option<DateTime>) -> Self
The time when the snapshot or cluster export task started.
sourcepub fn get_task_start_time(&self) -> &Option<DateTime>
pub fn get_task_start_time(&self) -> &Option<DateTime>
The time when the snapshot or cluster export task started.
sourcepub fn task_end_time(self, input: DateTime) -> Self
pub fn task_end_time(self, input: DateTime) -> Self
The time when the snapshot or cluster export task ended.
sourcepub fn set_task_end_time(self, input: Option<DateTime>) -> Self
pub fn set_task_end_time(self, input: Option<DateTime>) -> Self
The time when the snapshot or cluster export task ended.
sourcepub fn get_task_end_time(&self) -> &Option<DateTime>
pub fn get_task_end_time(&self) -> &Option<DateTime>
The time when the snapshot or cluster export task ended.
sourcepub fn s3_bucket(self, input: impl Into<String>) -> Self
pub fn s3_bucket(self, input: impl Into<String>) -> Self
The Amazon S3 bucket where the snapshot or cluster is exported to.
sourcepub fn set_s3_bucket(self, input: Option<String>) -> Self
pub fn set_s3_bucket(self, input: Option<String>) -> Self
The Amazon S3 bucket where the snapshot or cluster is exported to.
sourcepub fn get_s3_bucket(&self) -> &Option<String>
pub fn get_s3_bucket(&self) -> &Option<String>
The Amazon S3 bucket where the snapshot or cluster is exported to.
sourcepub fn s3_prefix(self, input: impl Into<String>) -> Self
pub fn s3_prefix(self, input: impl Into<String>) -> Self
The Amazon S3 bucket prefix that is the file name and path of the exported data.
sourcepub fn set_s3_prefix(self, input: Option<String>) -> Self
pub fn set_s3_prefix(self, input: Option<String>) -> Self
The Amazon S3 bucket prefix that is the file name and path of the exported data.
sourcepub fn get_s3_prefix(&self) -> &Option<String>
pub fn get_s3_prefix(&self) -> &Option<String>
The Amazon S3 bucket prefix that is the file name and path of the exported data.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster.
sourcepub fn get_iam_role_arn(&self) -> &Option<String>
pub fn get_iam_role_arn(&self) -> &Option<String>
The name of the IAM role that is used to write to Amazon S3 when exporting a snapshot or cluster.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, key ID, alias ARN, or alias name. The IAM role used for the export must have encryption and decryption permissions to use this KMS key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, key ID, alias ARN, or alias name. The IAM role used for the export must have encryption and decryption permissions to use this KMS key.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The key identifier of the Amazon Web Services KMS key that is used to encrypt the data when it's exported to Amazon S3. The KMS key identifier is its key ARN, key ID, alias ARN, or alias name. The IAM role used for the export must have encryption and decryption permissions to use this KMS key.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The progress status of the export task. The status can be one of the following:
-
CANCELED
-
CANCELING
-
COMPLETE
-
FAILED
-
IN_PROGRESS
-
STARTING
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The progress status of the export task. The status can be one of the following:
-
CANCELED
-
CANCELING
-
COMPLETE
-
FAILED
-
IN_PROGRESS
-
STARTING
sourcepub fn get_status(&self) -> &Option<String>
pub fn get_status(&self) -> &Option<String>
The progress status of the export task. The status can be one of the following:
-
CANCELED
-
CANCELING
-
COMPLETE
-
FAILED
-
IN_PROGRESS
-
STARTING
sourcepub fn percent_progress(self, input: i32) -> Self
pub fn percent_progress(self, input: i32) -> Self
The progress of the snapshot or cluster export task as a percentage.
sourcepub fn set_percent_progress(self, input: Option<i32>) -> Self
pub fn set_percent_progress(self, input: Option<i32>) -> Self
The progress of the snapshot or cluster export task as a percentage.
sourcepub fn get_percent_progress(&self) -> &Option<i32>
pub fn get_percent_progress(&self) -> &Option<i32>
The progress of the snapshot or cluster export task as a percentage.
sourcepub fn total_extracted_data_in_gb(self, input: i32) -> Self
pub fn total_extracted_data_in_gb(self, input: i32) -> Self
The total amount of data exported, in gigabytes.
sourcepub fn set_total_extracted_data_in_gb(self, input: Option<i32>) -> Self
pub fn set_total_extracted_data_in_gb(self, input: Option<i32>) -> Self
The total amount of data exported, in gigabytes.
sourcepub fn get_total_extracted_data_in_gb(&self) -> &Option<i32>
pub fn get_total_extracted_data_in_gb(&self) -> &Option<i32>
The total amount of data exported, in gigabytes.
sourcepub fn failure_cause(self, input: impl Into<String>) -> Self
pub fn failure_cause(self, input: impl Into<String>) -> Self
The reason the export failed, if it failed.
sourcepub fn set_failure_cause(self, input: Option<String>) -> Self
pub fn set_failure_cause(self, input: Option<String>) -> Self
The reason the export failed, if it failed.
sourcepub fn get_failure_cause(&self) -> &Option<String>
pub fn get_failure_cause(&self) -> &Option<String>
The reason the export failed, if it failed.
sourcepub fn warning_message(self, input: impl Into<String>) -> Self
pub fn warning_message(self, input: impl Into<String>) -> Self
A warning about the snapshot or cluster export task.
sourcepub fn set_warning_message(self, input: Option<String>) -> Self
pub fn set_warning_message(self, input: Option<String>) -> Self
A warning about the snapshot or cluster export task.
sourcepub fn get_warning_message(&self) -> &Option<String>
pub fn get_warning_message(&self) -> &Option<String>
A warning about the snapshot or cluster export task.
sourcepub fn source_type(self, input: ExportSourceType) -> Self
pub fn source_type(self, input: ExportSourceType) -> Self
The type of source for the export.
sourcepub fn set_source_type(self, input: Option<ExportSourceType>) -> Self
pub fn set_source_type(self, input: Option<ExportSourceType>) -> Self
The type of source for the export.
sourcepub fn get_source_type(&self) -> &Option<ExportSourceType>
pub fn get_source_type(&self) -> &Option<ExportSourceType>
The type of source for the export.
sourcepub fn build(self) -> StartExportTaskOutput
pub fn build(self) -> StartExportTaskOutput
Consumes the builder and constructs a StartExportTaskOutput
.
Trait Implementations§
source§impl Clone for StartExportTaskOutputBuilder
impl Clone for StartExportTaskOutputBuilder
source§fn clone(&self) -> StartExportTaskOutputBuilder
fn clone(&self) -> StartExportTaskOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartExportTaskOutputBuilder
impl Debug for StartExportTaskOutputBuilder
source§impl Default for StartExportTaskOutputBuilder
impl Default for StartExportTaskOutputBuilder
source§fn default() -> StartExportTaskOutputBuilder
fn default() -> StartExportTaskOutputBuilder
source§impl PartialEq for StartExportTaskOutputBuilder
impl PartialEq for StartExportTaskOutputBuilder
source§fn eq(&self, other: &StartExportTaskOutputBuilder) -> bool
fn eq(&self, other: &StartExportTaskOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.