Struct aws_sdk_opensearch::types::ScheduledAction
source · #[non_exhaustive]pub struct ScheduledAction {
pub id: String,
pub type: ActionType,
pub severity: ActionSeverity,
pub scheduled_time: i64,
pub description: Option<String>,
pub scheduled_by: Option<ScheduledBy>,
pub status: Option<ActionStatus>,
pub mandatory: Option<bool>,
pub cancellable: Option<bool>,
}
Expand description
Information about a scheduled configuration change for an OpenSearch Service domain. This actions can be a service software update or a blue/green Auto-Tune enhancement.
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.id: String
The unique identifier of the scheduled action.
type: ActionType
The type of action that will be taken on the domain.
severity: ActionSeverity
The severity of the action.
scheduled_time: i64
The time when the change is scheduled to happen.
description: Option<String>
A description of the action to be taken.
scheduled_by: Option<ScheduledBy>
Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
).
status: Option<ActionStatus>
The current status of the scheduled action.
mandatory: Option<bool>
Whether the action is required or optional.
cancellable: Option<bool>
Whether or not the scheduled action is cancellable.
Implementations§
source§impl ScheduledAction
impl ScheduledAction
sourcepub fn type(&self) -> &ActionType
pub fn type(&self) -> &ActionType
The type of action that will be taken on the domain.
sourcepub fn severity(&self) -> &ActionSeverity
pub fn severity(&self) -> &ActionSeverity
The severity of the action.
sourcepub fn scheduled_time(&self) -> i64
pub fn scheduled_time(&self) -> i64
The time when the change is scheduled to happen.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the action to be taken.
sourcepub fn scheduled_by(&self) -> Option<&ScheduledBy>
pub fn scheduled_by(&self) -> Option<&ScheduledBy>
Whether the action was scheduled manually (CUSTOMER
, or by OpenSearch Service automatically (SYSTEM
).
sourcepub fn status(&self) -> Option<&ActionStatus>
pub fn status(&self) -> Option<&ActionStatus>
The current status of the scheduled action.
sourcepub fn cancellable(&self) -> Option<bool>
pub fn cancellable(&self) -> Option<bool>
Whether or not the scheduled action is cancellable.
source§impl ScheduledAction
impl ScheduledAction
sourcepub fn builder() -> ScheduledActionBuilder
pub fn builder() -> ScheduledActionBuilder
Creates a new builder-style object to manufacture ScheduledAction
.
Trait Implementations§
source§impl Clone for ScheduledAction
impl Clone for ScheduledAction
source§fn clone(&self) -> ScheduledAction
fn clone(&self) -> ScheduledAction
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ScheduledAction
impl Debug for ScheduledAction
source§impl PartialEq for ScheduledAction
impl PartialEq for ScheduledAction
source§fn eq(&self, other: &ScheduledAction) -> bool
fn eq(&self, other: &ScheduledAction) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ScheduledAction
Auto Trait Implementations§
impl Freeze for ScheduledAction
impl RefUnwindSafe for ScheduledAction
impl Send for ScheduledAction
impl Sync for ScheduledAction
impl Unpin for ScheduledAction
impl UnwindSafe for ScheduledAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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