[−][src]Struct rusoto_lightsail::AutoSnapshotAddOnRequest
Describes a request to enable or modify the automatic snapshot add-on for an Amazon Lightsail instance or disk.
When you modify the automatic snapshot time for a resource, it is typically effective immediately except under the following conditions:
-
If an automatic snapshot has been created for the current day, and you change the snapshot time to a later time of day, then the new snapshot time will be effective the following day. This ensures that two snapshots are not created for the current day.
-
If an automatic snapshot has not yet been created for the current day, and you change the snapshot time to an earlier time of day, then the new snapshot time will be effective the following day and a snapshot is automatically created at the previously set time for the current day. This ensures that a snapshot is created for the current day.
-
If an automatic snapshot has not yet been created for the current day, and you change the snapshot time to a time that is within 30 minutes from your current time, then the new snapshot time will be effective the following day and a snapshot is automatically created at the previously set time for the current day. This ensures that a snapshot is created for the current day, because 30 minutes is required between your current time and the new snapshot time that you specify.
-
If an automatic snapshot is scheduled to be created within 30 minutes from your current time and you change the snapshot time, then the new snapshot time will be effective the following day and a snapshot is automatically created at the previously set time for the current day. This ensures that a snapshot is created for the current day, because 30 minutes is required between your current time and the new snapshot time that you specify.
Fields
snapshot_time_of_day: Option<String>
The daily time when an automatic snapshot will be created.
Constraints:
-
Must be in
HH:00
format, and in an hourly increment. -
Specified in Coordinated Universal Time (UTC).
-
The snapshot will be automatically created between the time specified and up to 45 minutes after.
Trait Implementations
impl Clone for AutoSnapshotAddOnRequest
[src]
pub fn clone(&self) -> AutoSnapshotAddOnRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AutoSnapshotAddOnRequest
[src]
impl Default for AutoSnapshotAddOnRequest
[src]
pub fn default() -> AutoSnapshotAddOnRequest
[src]
impl PartialEq<AutoSnapshotAddOnRequest> for AutoSnapshotAddOnRequest
[src]
pub fn eq(&self, other: &AutoSnapshotAddOnRequest) -> bool
[src]
pub fn ne(&self, other: &AutoSnapshotAddOnRequest) -> bool
[src]
impl Serialize for AutoSnapshotAddOnRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for AutoSnapshotAddOnRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for AutoSnapshotAddOnRequest
[src]
impl Send for AutoSnapshotAddOnRequest
[src]
impl Sync for AutoSnapshotAddOnRequest
[src]
impl Unpin for AutoSnapshotAddOnRequest
[src]
impl UnwindSafe for AutoSnapshotAddOnRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,