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
impl StructuralPartialEq for OptionStatusBuilder
Auto Trait Implementations§
impl Freeze for OptionStatusBuilder
impl RefUnwindSafe for OptionStatusBuilder
impl Send for OptionStatusBuilder
impl Sync for OptionStatusBuilder
impl Unpin for OptionStatusBuilder
impl UnwindSafe for OptionStatusBuilder
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