Struct aws_sdk_elasticsearch::types::builders::OptionStatusBuilder
source · #[non_exhaustive]pub struct OptionStatusBuilder { /* private fields */ }
Expand description
A builder for OptionStatus
.
Implementations§
source§impl OptionStatusBuilder
impl OptionStatusBuilder
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
Timestamp which tells the creation date for the entity.
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 the creation date for the entity.
sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
Timestamp which tells the creation date for the entity.
sourcepub fn update_date(self, input: DateTime) -> Self
pub fn update_date(self, input: DateTime) -> Self
Timestamp which tells the last updated time for the entity.
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 the last updated time for the entity.
sourcepub fn get_update_date(&self) -> &Option<DateTime>
pub fn get_update_date(&self) -> &Option<DateTime>
Timestamp which tells the last updated time for the entity.
sourcepub fn update_version(self, input: i32) -> Self
pub fn update_version(self, input: i32) -> Self
Specifies the latest version for the entity.
sourcepub fn set_update_version(self, input: Option<i32>) -> Self
pub fn set_update_version(self, input: Option<i32>) -> Self
Specifies the latest version for the entity.
sourcepub fn get_update_version(&self) -> &Option<i32>
pub fn get_update_version(&self) -> &Option<i32>
Specifies the latest version for the entity.
sourcepub fn state(self, input: OptionState) -> Self
pub fn state(self, input: OptionState) -> Self
Provides the OptionState
for the Elasticsearch domain.
sourcepub fn set_state(self, input: Option<OptionState>) -> Self
pub fn set_state(self, input: Option<OptionState>) -> Self
Provides the OptionState
for the Elasticsearch domain.
sourcepub fn get_state(&self) -> &Option<OptionState>
pub fn get_state(&self) -> &Option<OptionState>
Provides the OptionState
for the Elasticsearch domain.
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<OptionStatus, BuildError>
pub fn build(self) -> Result<OptionStatus, BuildError>
Consumes the builder and constructs a OptionStatus
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OptionStatusBuilder
impl Clone for OptionStatusBuilder
source§fn clone(&self) -> OptionStatusBuilder
fn clone(&self) -> OptionStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OptionStatusBuilder
impl Debug for OptionStatusBuilder
source§impl Default for OptionStatusBuilder
impl Default for OptionStatusBuilder
source§fn default() -> OptionStatusBuilder
fn default() -> OptionStatusBuilder
source§impl PartialEq for OptionStatusBuilder
impl PartialEq for OptionStatusBuilder
source§fn eq(&self, other: &OptionStatusBuilder) -> bool
fn eq(&self, other: &OptionStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.