#[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
Timestamp which tells Auto-Tune options creation date .
This field is required.sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
Timestamp which tells Auto-Tune options creation date .
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
Timestamp which tells Auto-Tune options creation date .
sourcepub fn update_date(self, input: DateTime) -> Self
pub fn update_date(self, input: DateTime) -> Self
Timestamp which tells Auto-Tune options last updated time.
This field is required.sourcepub fn set_update_date(self, input: Option<DateTime>) -> Self
pub fn set_update_date(self, input: Option<DateTime>) -> Self
Timestamp which tells Auto-Tune options last updated time.
sourcepub fn get_update_date(&self) -> &Option<DateTime>
pub fn get_update_date(&self) -> &Option<DateTime>
Timestamp which tells Auto-Tune options last updated time.
sourcepub fn update_version(self, input: i32) -> Self
pub fn update_version(self, input: i32) -> Self
Specifies the Auto-Tune options latest version.
sourcepub fn set_update_version(self, input: Option<i32>) -> Self
pub fn set_update_version(self, input: Option<i32>) -> Self
Specifies the Auto-Tune options latest version.
sourcepub fn get_update_version(&self) -> &Option<i32>
pub fn get_update_version(&self) -> &Option<i32>
Specifies the Auto-Tune options latest version.
sourcepub fn state(self, input: AutoTuneState) -> Self
pub fn state(self, input: AutoTuneState) -> Self
Specifies the AutoTuneState
for the Elasticsearch domain.
sourcepub fn set_state(self, input: Option<AutoTuneState>) -> Self
pub fn set_state(self, input: Option<AutoTuneState>) -> Self
Specifies the AutoTuneState
for the Elasticsearch domain.
sourcepub fn get_state(&self) -> &Option<AutoTuneState>
pub fn get_state(&self) -> &Option<AutoTuneState>
Specifies the AutoTuneState
for the Elasticsearch domain.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
Specifies the error message while enabling or disabling the Auto-Tune options.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
Specifies the error message while enabling or disabling the Auto-Tune options.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
Specifies the error message while enabling or disabling the Auto-Tune options.
sourcepub fn pending_deletion(self, input: bool) -> Self
pub fn pending_deletion(self, input: bool) -> Self
Indicates whether the Elasticsearch 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 Elasticsearch domain is being deleted.
sourcepub fn get_pending_deletion(&self) -> &Option<bool>
pub fn get_pending_deletion(&self) -> &Option<bool>
Indicates whether the Elasticsearch 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
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> 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