Struct aws_sdk_lightsail::types::AddOn
source · #[non_exhaustive]pub struct AddOn {
pub name: Option<String>,
pub status: Option<String>,
pub snapshot_time_of_day: Option<String>,
pub next_snapshot_time_of_day: Option<String>,
pub threshold: Option<String>,
pub duration: Option<String>,
}
Expand description
Describes an add-on that is enabled for an Amazon Lightsail resource.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the add-on.
status: Option<String>
The status of the add-on.
snapshot_time_of_day: Option<String>
The daily time when an automatic snapshot is created.
The time shown is in HH:00
format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 minutes after.
next_snapshot_time_of_day: Option<String>
The next daily time an automatic snapshot will be created.
The time shown is in HH:00
format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 minutes after.
threshold: Option<String>
The trigger threshold of the action.
This add-on only applies to Lightsail for Research resources.
duration: Option<String>
The amount of idle time in minutes after which your virtual computer will automatically stop.
This add-on only applies to Lightsail for Research resources.
Implementations§
source§impl AddOn
impl AddOn
sourcepub fn snapshot_time_of_day(&self) -> Option<&str>
pub fn snapshot_time_of_day(&self) -> Option<&str>
The daily time when an automatic snapshot is created.
The time shown is in HH:00
format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 minutes after.
sourcepub fn next_snapshot_time_of_day(&self) -> Option<&str>
pub fn next_snapshot_time_of_day(&self) -> Option<&str>
The next daily time an automatic snapshot will be created.
The time shown is in HH:00
format, and in Coordinated Universal Time (UTC).
The snapshot is automatically created between the time shown and up to 45 minutes after.
Trait Implementations§
source§impl PartialEq for AddOn
impl PartialEq for AddOn
impl StructuralPartialEq for AddOn
Auto Trait Implementations§
impl Freeze for AddOn
impl RefUnwindSafe for AddOn
impl Send for AddOn
impl Sync for AddOn
impl Unpin for AddOn
impl UnwindSafe for AddOn
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more