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

An automated backup of a DB instance. It consists of system backups, transaction logs, and the database instance properties that existed at the time you deleted the source instance.

Implementations§

source§

impl DbInstanceAutomatedBackup

source

pub fn db_instance_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) for the automated backups.

source

pub fn dbi_resource_id(&self) -> Option<&str>

The identifier for the source DB instance, which can't be changed and which is unique to an Amazon Web Services Region.

source

pub fn region(&self) -> Option<&str>

The Amazon Web Services Region associated with the automated backup.

source

pub fn db_instance_identifier(&self) -> Option<&str>

The customer id of the instance that is/was associated with the automated backup.

source

pub fn restore_window(&self) -> Option<&RestoreWindow>

Earliest and latest time an instance can be restored to.

source

pub fn allocated_storage(&self) -> i32

Specifies the allocated storage size in gibibytes (GiB).

source

pub fn status(&self) -> Option<&str>

Provides a list of status information for an automated backup:

  • active - automated backups for current instances

  • retained - automated backups for deleted instances

  • creating - automated backups that are waiting for the first automated snapshot to be available.

source

pub fn port(&self) -> i32

The port number that the automated backup used for connections.

Default: Inherits from the source DB instance

Valid Values: 1150-65535

source

pub fn availability_zone(&self) -> Option<&str>

The Availability Zone that the automated backup was created in. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones.

source

pub fn vpc_id(&self) -> Option<&str>

Provides the VPC ID associated with the DB instance.

source

pub fn instance_create_time(&self) -> Option<&DateTime>

Provides the date and time that the DB instance was created.

source

pub fn master_username(&self) -> Option<&str>

The license model of an automated backup.

source

pub fn engine(&self) -> Option<&str>

The name of the database engine for this automated backup.

source

pub fn engine_version(&self) -> Option<&str>

The version of the database engine for the automated backup.

source

pub fn license_model(&self) -> Option<&str>

License model information for the automated backup.

source

pub fn iops(&self) -> Option<i32>

The IOPS (I/O operations per second) value for the automated backup.

source

pub fn option_group_name(&self) -> Option<&str>

The option group the automated backup is associated with. If omitted, the default option group for the engine specified is used.

source

pub fn tde_credential_arn(&self) -> Option<&str>

The ARN from the key store with which the automated backup is associated for TDE encryption.

source

pub fn encrypted(&self) -> bool

Specifies whether the automated backup is encrypted.

source

pub fn storage_type(&self) -> Option<&str>

Specifies the storage type associated with the automated backup.

source

pub fn kms_key_id(&self) -> Option<&str>

The Amazon Web Services KMS key ID for an automated backup.

The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.

source

pub fn timezone(&self) -> Option<&str>

The time zone of the automated backup. In most cases, the Timezone element is empty. Timezone content appears only for Microsoft SQL Server DB instances that were created with a time zone specified.

source

pub fn iam_database_authentication_enabled(&self) -> bool

True if mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled, and otherwise false.

source

pub fn backup_retention_period(&self) -> Option<i32>

The retention period for the automated backups.

source

pub fn db_instance_automated_backups_arn(&self) -> Option<&str>

The Amazon Resource Name (ARN) for the replicated automated backups.

source

pub fn db_instance_automated_backups_replications( &self ) -> Option<&[DbInstanceAutomatedBackupsReplication]>

The list of replications to different Amazon Web Services Regions associated with the automated backup.

source

pub fn backup_target(&self) -> Option<&str>

Specifies where automated backups are stored: Amazon Web Services Outposts or the Amazon Web Services Region.

source

pub fn storage_throughput(&self) -> Option<i32>

Specifies the storage throughput for the automated backup.

source§

impl DbInstanceAutomatedBackup

source

pub fn builder() -> DbInstanceAutomatedBackupBuilder

Creates a new builder-style object to manufacture DbInstanceAutomatedBackup.

Trait Implementations§

source§

impl Clone for DbInstanceAutomatedBackup

source§

fn clone(&self) -> DbInstanceAutomatedBackup

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for DbInstanceAutomatedBackup

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq<DbInstanceAutomatedBackup> for DbInstanceAutomatedBackup

source§

fn eq(&self, other: &DbInstanceAutomatedBackup) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for DbInstanceAutomatedBackup

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

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

fn in_current_span(self) -> Instrumented<Self>

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

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

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