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 ==
.