Struct aws_sdk_opensearch::types::AutoTuneOptionsInput
source · #[non_exhaustive]pub struct AutoTuneOptionsInput {
pub desired_state: Option<AutoTuneDesiredState>,
pub maintenance_schedules: Option<Vec<AutoTuneMaintenanceSchedule>>,
pub use_off_peak_window: Option<bool>,
}
Expand description
Options for configuring Auto-Tune. For more information, see Auto-Tune for Amazon OpenSearch Service
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.desired_state: Option<AutoTuneDesiredState>
Whether Auto-Tune is enabled or disabled.
maintenance_schedules: Option<Vec<AutoTuneMaintenanceSchedule>>
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
use_off_peak_window: Option<bool>
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
Implementations§
source§impl AutoTuneOptionsInput
impl AutoTuneOptionsInput
sourcepub fn desired_state(&self) -> Option<&AutoTuneDesiredState>
pub fn desired_state(&self) -> Option<&AutoTuneDesiredState>
Whether Auto-Tune is enabled or disabled.
sourcepub fn maintenance_schedules(&self) -> &[AutoTuneMaintenanceSchedule]
pub fn maintenance_schedules(&self) -> &[AutoTuneMaintenanceSchedule]
A list of maintenance schedules during which Auto-Tune can deploy changes. Maintenance windows are deprecated and have been replaced with off-peak windows.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .maintenance_schedules.is_none()
.
sourcepub fn use_off_peak_window(&self) -> Option<bool>
pub fn use_off_peak_window(&self) -> Option<bool>
Whether to schedule Auto-Tune optimizations that require blue/green deployments during the domain's configured daily off-peak window.
source§impl AutoTuneOptionsInput
impl AutoTuneOptionsInput
sourcepub fn builder() -> AutoTuneOptionsInputBuilder
pub fn builder() -> AutoTuneOptionsInputBuilder
Creates a new builder-style object to manufacture AutoTuneOptionsInput
.
Trait Implementations§
source§impl Clone for AutoTuneOptionsInput
impl Clone for AutoTuneOptionsInput
source§fn clone(&self) -> AutoTuneOptionsInput
fn clone(&self) -> AutoTuneOptionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AutoTuneOptionsInput
impl Debug for AutoTuneOptionsInput
source§impl PartialEq for AutoTuneOptionsInput
impl PartialEq for AutoTuneOptionsInput
source§fn eq(&self, other: &AutoTuneOptionsInput) -> bool
fn eq(&self, other: &AutoTuneOptionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.