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.
This field is required.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 get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
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.
This field is required.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 get_update_date(&self) -> &Option<DateTime>
pub fn get_update_date(&self) -> &Option<DateTime>
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 get_update_version(&self) -> &Option<i32>
pub fn get_update_version(&self) -> &Option<i32>
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.
This field is required.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 get_state(&self) -> &Option<AutoTuneState>
pub fn get_state(&self) -> &Option<AutoTuneState>
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 get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
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 get_pending_deletion(&self) -> &Option<bool>
pub fn get_pending_deletion(&self) -> &Option<bool>
Indicates whether the domain is being deleted.
sourcepub fn build(self) -> Result<AutoTuneStatus, BuildError>
pub fn build(self) -> Result<AutoTuneStatus, BuildError>
Consumes the builder and constructs a AutoTuneStatus
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AutoTuneStatusBuilder
impl Clone for AutoTuneStatusBuilder
source§fn clone(&self) -> AutoTuneStatusBuilder
fn clone(&self) -> AutoTuneStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for AutoTuneStatusBuilder
impl PartialEq for AutoTuneStatusBuilder
source§fn eq(&self, other: &AutoTuneStatusBuilder) -> bool
fn eq(&self, other: &AutoTuneStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AutoTuneStatusBuilder
Auto Trait Implementations§
impl Freeze for AutoTuneStatusBuilder
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
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