pub struct Builder { /* private fields */ }Expand description
A builder for CompatibleVersionsMap.
Implementations§
source§impl Builder
impl Builder
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.