#[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 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 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<CompatibleVersionsMapBuilder> for CompatibleVersionsMapBuilder
impl PartialEq<CompatibleVersionsMapBuilder> 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 ==.