#[non_exhaustive]
pub struct Builder { /* private fields */ }
Expand description

A builder for DbInstance

Implementations

Contains a user-provided database identifier. This identifier is the unique key that identifies an instance.

Contains a user-provided database identifier. This identifier is the unique key that identifies an instance.

Contains the name of the compute and memory capacity class of the instance.

Contains the name of the compute and memory capacity class of the instance.

Provides the name of the database engine to be used for this instance.

Provides the name of the database engine to be used for this instance.

Specifies the current state of this database.

Specifies the current state of this database.

Specifies the connection endpoint.

Specifies the connection endpoint.

Provides the date and time that the instance was created.

Provides the date and time that the instance was created.

Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.

Specifies the daily time range during which automated backups are created if automated backups are enabled, as determined by the BackupRetentionPeriod.

Specifies the number of days for which automatic snapshots are retained.

Specifies the number of days for which automatic snapshots are retained.

Appends an item to vpc_security_groups.

To override the contents of this collection use set_vpc_security_groups.

Provides a list of VPC security group elements that the instance belongs to.

Provides a list of VPC security group elements that the instance belongs to.

Specifies the name of the Availability Zone that the instance is located in.

Specifies the name of the Availability Zone that the instance is located in.

Specifies information on the subnet group that is associated with the instance, including the name, description, and subnets in the subnet group.

Specifies information on the subnet group that is associated with the instance, including the name, description, and subnets in the subnet group.

Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Specifies the weekly time range during which system maintenance can occur, in Universal Coordinated Time (UTC).

Specifies that changes to the instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.

Specifies that changes to the instance are pending. This element is included only when changes are pending. Specific changes are identified by subelements.

Specifies the latest time to which a database can be restored with point-in-time restore.

Specifies the latest time to which a database can be restored with point-in-time restore.

Indicates the database engine version.

Indicates the database engine version.

Does not apply. This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.

Does not apply. This parameter does not apply to Amazon DocumentDB. Amazon DocumentDB does not perform minor version upgrades regardless of the value set.

Not supported. Amazon DocumentDB does not currently support public endpoints. The value of PubliclyAccessible is always false.

Not supported. Amazon DocumentDB does not currently support public endpoints. The value of PubliclyAccessible is always false.

Appends an item to status_infos.

To override the contents of this collection use set_status_infos.

The status of a read replica. If the instance is not a read replica, this is blank.

The status of a read replica. If the instance is not a read replica, this is blank.

Contains the name of the cluster that the instance is a member of if the instance is a member of a cluster.

Contains the name of the cluster that the instance is a member of if the instance is a member of a cluster.

Specifies whether or not the instance is encrypted.

Specifies whether or not the instance is encrypted.

If StorageEncrypted is true, the KMS key identifier for the encrypted instance.

If StorageEncrypted is true, the KMS key identifier for the encrypted instance.

The Region-unique, immutable identifier for the instance. This identifier is found in CloudTrail log entries whenever the KMS key for the instance is accessed.

The Region-unique, immutable identifier for the instance. This identifier is found in CloudTrail log entries whenever the KMS key for the instance is accessed.

The identifier of the CA certificate for this DB instance.

The identifier of the CA certificate for this DB instance.

A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.

A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.

The Amazon Resource Name (ARN) for the instance.

The Amazon Resource Name (ARN) for the instance.

Appends an item to enabled_cloudwatch_logs_exports.

To override the contents of this collection use set_enabled_cloudwatch_logs_exports.

A list of log types that this instance is configured to export to CloudWatch Logs.

A list of log types that this instance is configured to export to CloudWatch Logs.

Consumes the builder and constructs a DbInstance

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more