#[non_exhaustive]pub struct CompatibleVersionsMapBuilder { /* private fields */ }
Expand description
A builder for CompatibleVersionsMap
.
Implementations§
source§impl CompatibleVersionsMapBuilder
impl CompatibleVersionsMapBuilder
sourcepub fn source_version(self, input: impl Into<String>) -> Self
pub fn source_version(self, input: impl Into<String>) -> Self
The current version of Elasticsearch on which a domain is.
sourcepub fn set_source_version(self, input: Option<String>) -> Self
pub fn set_source_version(self, input: Option<String>) -> Self
The current version of Elasticsearch on which a domain is.
sourcepub fn get_source_version(&self) -> &Option<String>
pub fn get_source_version(&self) -> &Option<String>
The current version of Elasticsearch on which a domain is.
sourcepub fn target_versions(self, input: impl Into<String>) -> Self
pub fn target_versions(self, input: impl Into<String>) -> Self
Appends an item to target_versions
.
To override the contents of this collection use set_target_versions
.
List of supported elastic search versions.
sourcepub fn set_target_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_target_versions(self, input: Option<Vec<String>>) -> Self
List of supported elastic search versions.
sourcepub fn get_target_versions(&self) -> &Option<Vec<String>>
pub fn get_target_versions(&self) -> &Option<Vec<String>>
List of supported elastic search versions.
sourcepub fn build(self) -> CompatibleVersionsMap
pub fn build(self) -> CompatibleVersionsMap
Consumes the builder and constructs a CompatibleVersionsMap
.
Trait Implementations§
source§impl Clone for CompatibleVersionsMapBuilder
impl Clone for CompatibleVersionsMapBuilder
source§fn clone(&self) -> CompatibleVersionsMapBuilder
fn clone(&self) -> CompatibleVersionsMapBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CompatibleVersionsMapBuilder
impl Debug for CompatibleVersionsMapBuilder
source§impl Default for CompatibleVersionsMapBuilder
impl Default for CompatibleVersionsMapBuilder
source§fn default() -> CompatibleVersionsMapBuilder
fn default() -> CompatibleVersionsMapBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CompatibleVersionsMapBuilder
impl PartialEq for CompatibleVersionsMapBuilder
source§fn eq(&self, other: &CompatibleVersionsMapBuilder) -> bool
fn eq(&self, other: &CompatibleVersionsMapBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CompatibleVersionsMapBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CompatibleVersionsMapBuilder
impl Send for CompatibleVersionsMapBuilder
impl Sync for CompatibleVersionsMapBuilder
impl Unpin for CompatibleVersionsMapBuilder
impl UnwindSafe for CompatibleVersionsMapBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.