#[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
source§fn eq(&self, other: &AutoTuneStatusBuilder) -> bool
fn eq(&self, other: &AutoTuneStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.