Struct aws_sdk_opensearch::types::builders::AutoTuneStatusBuilder
source · #[non_exhaustive]pub struct AutoTuneStatusBuilder { /* private fields */ }Expand description
A builder for AutoTuneStatus.
Implementations§
source§impl AutoTuneStatusBuilder
impl AutoTuneStatusBuilder
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
Date and time when Auto-Tune was enabled for the domain.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
Date and time when Auto-Tune was enabled for the domain.
sourcepub fn update_date(self, input: DateTime) -> Self
pub fn update_date(self, input: DateTime) -> Self
Date and time when the Auto-Tune options were last updated for the domain.
sourcepub fn set_update_date(self, input: Option<DateTime>) -> Self
pub fn set_update_date(self, input: Option<DateTime>) -> Self
Date and time when the Auto-Tune options were last updated for the domain.
sourcepub fn update_version(self, input: i32) -> Self
pub fn update_version(self, input: i32) -> Self
The latest version of the Auto-Tune options.
sourcepub fn set_update_version(self, input: Option<i32>) -> Self
pub fn set_update_version(self, input: Option<i32>) -> Self
The latest version of the Auto-Tune options.
sourcepub fn state(self, input: AutoTuneState) -> Self
pub fn state(self, input: AutoTuneState) -> Self
The current state of Auto-Tune on the domain.
sourcepub fn set_state(self, input: Option<AutoTuneState>) -> Self
pub fn set_state(self, input: Option<AutoTuneState>) -> Self
The current state of Auto-Tune on the domain.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
Any errors that occurred while enabling or disabling Auto-Tune.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
Any errors that occurred while enabling or disabling Auto-Tune.
sourcepub fn pending_deletion(self, input: bool) -> Self
pub fn pending_deletion(self, input: bool) -> Self
Indicates whether the domain is being deleted.
sourcepub fn set_pending_deletion(self, input: Option<bool>) -> Self
pub fn set_pending_deletion(self, input: Option<bool>) -> Self
Indicates whether the domain is being deleted.
sourcepub fn build(self) -> AutoTuneStatus
pub fn build(self) -> AutoTuneStatus
Consumes the builder and constructs a AutoTuneStatus.
Trait Implementations§
source§impl Clone for AutoTuneStatusBuilder
impl Clone for AutoTuneStatusBuilder
source§fn clone(&self) -> AutoTuneStatusBuilder
fn clone(&self) -> AutoTuneStatusBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AutoTuneStatusBuilder
impl Debug for AutoTuneStatusBuilder
source§impl Default for AutoTuneStatusBuilder
impl Default for AutoTuneStatusBuilder
source§fn default() -> AutoTuneStatusBuilder
fn default() -> AutoTuneStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AutoTuneStatusBuilder> for AutoTuneStatusBuilder
impl PartialEq<AutoTuneStatusBuilder> for AutoTuneStatusBuilder
source§fn eq(&self, other: &AutoTuneStatusBuilder) -> bool
fn eq(&self, other: &AutoTuneStatusBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AutoTuneStatusBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AutoTuneStatusBuilder
impl Send for AutoTuneStatusBuilder
impl Sync for AutoTuneStatusBuilder
impl Unpin for AutoTuneStatusBuilder
impl UnwindSafe for AutoTuneStatusBuilder
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
Mutably borrows from an owned value. Read more