Struct rusoto_rds::PromoteReadReplicaMessage
source · [−]pub struct PromoteReadReplicaMessage {
pub backup_retention_period: Option<i64>,
pub db_instance_identifier: String,
pub preferred_backup_window: Option<String>,
}
Expand description
Fields
backup_retention_period: Option<i64>
The number of days for which automated backups are retained. Setting this parameter to a positive number enables backups. Setting this parameter to 0 disables automated backups.
Default: 1
Constraints:
-
Must be a value from 0 to 35.
-
Can't be set to 0 if the DB instance is a source to read replicas.
db_instance_identifier: String
The DB instance identifier. This value is stored as a lowercase string.
Constraints:
-
Must match the identifier of an existing read replica DB instance.
Example: mydbinstance
preferred_backup_window: Option<String>
The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod
parameter.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. To see the time blocks available, see Adjusting the Preferred Maintenance Window in the Amazon RDS User Guide.
Constraints:
-
Must be in the format
hh24:mi-hh24:mi
. -
Must be in Universal Coordinated Time (UTC).
-
Must not conflict with the preferred maintenance window.
-
Must be at least 30 minutes.
Trait Implementations
sourceimpl Clone for PromoteReadReplicaMessage
impl Clone for PromoteReadReplicaMessage
sourcefn clone(&self) -> PromoteReadReplicaMessage
fn clone(&self) -> PromoteReadReplicaMessage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PromoteReadReplicaMessage
impl Debug for PromoteReadReplicaMessage
sourceimpl Default for PromoteReadReplicaMessage
impl Default for PromoteReadReplicaMessage
sourcefn default() -> PromoteReadReplicaMessage
fn default() -> PromoteReadReplicaMessage
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PromoteReadReplicaMessage> for PromoteReadReplicaMessage
impl PartialEq<PromoteReadReplicaMessage> for PromoteReadReplicaMessage
sourcefn eq(&self, other: &PromoteReadReplicaMessage) -> bool
fn eq(&self, other: &PromoteReadReplicaMessage) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PromoteReadReplicaMessage) -> bool
fn ne(&self, other: &PromoteReadReplicaMessage) -> bool
This method tests for !=
.
impl StructuralPartialEq for PromoteReadReplicaMessage
Auto Trait Implementations
impl RefUnwindSafe for PromoteReadReplicaMessage
impl Send for PromoteReadReplicaMessage
impl Sync for PromoteReadReplicaMessage
impl Unpin for PromoteReadReplicaMessage
impl UnwindSafe for PromoteReadReplicaMessage
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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