pub struct Builder { /* private fields */ }
Expand description
A builder for AdvancedOptionsStatus
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn options(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn options(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to options
.
To override the contents of this collection use set_options
.
Specifies the status of advanced options for the specified Elasticsearch domain.
sourcepub fn set_options(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_options(self, input: Option<HashMap<String, String>>) -> Self
Specifies the status of advanced options for the specified Elasticsearch domain.
sourcepub fn status(self, input: OptionStatus) -> Self
pub fn status(self, input: OptionStatus) -> Self
Specifies the status of OptionStatus
for advanced options for the specified Elasticsearch domain.
sourcepub fn set_status(self, input: Option<OptionStatus>) -> Self
pub fn set_status(self, input: Option<OptionStatus>) -> Self
Specifies the status of OptionStatus
for advanced options for the specified Elasticsearch domain.
sourcepub fn build(self) -> AdvancedOptionsStatus
pub fn build(self) -> AdvancedOptionsStatus
Consumes the builder and constructs a AdvancedOptionsStatus
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more