Struct aws_sdk_opensearch::operation::get_compatible_versions::builders::GetCompatibleVersionsOutputBuilder
source · #[non_exhaustive]pub struct GetCompatibleVersionsOutputBuilder { /* private fields */ }
Expand description
A builder for GetCompatibleVersionsOutput
.
Implementations§
source§impl GetCompatibleVersionsOutputBuilder
impl GetCompatibleVersionsOutputBuilder
sourcepub fn compatible_versions(self, input: CompatibleVersionsMap) -> Self
pub fn compatible_versions(self, input: CompatibleVersionsMap) -> Self
Appends an item to compatible_versions
.
To override the contents of this collection use set_compatible_versions
.
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
sourcepub fn set_compatible_versions(
self,
input: Option<Vec<CompatibleVersionsMap>>
) -> Self
pub fn set_compatible_versions( self, input: Option<Vec<CompatibleVersionsMap>> ) -> Self
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
sourcepub fn get_compatible_versions(&self) -> &Option<Vec<CompatibleVersionsMap>>
pub fn get_compatible_versions(&self) -> &Option<Vec<CompatibleVersionsMap>>
A map of OpenSearch or Elasticsearch versions and the versions you can upgrade them to.
sourcepub fn build(self) -> GetCompatibleVersionsOutput
pub fn build(self) -> GetCompatibleVersionsOutput
Consumes the builder and constructs a GetCompatibleVersionsOutput
.
Trait Implementations§
source§impl Clone for GetCompatibleVersionsOutputBuilder
impl Clone for GetCompatibleVersionsOutputBuilder
source§fn clone(&self) -> GetCompatibleVersionsOutputBuilder
fn clone(&self) -> GetCompatibleVersionsOutputBuilder
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 Default for GetCompatibleVersionsOutputBuilder
impl Default for GetCompatibleVersionsOutputBuilder
source§fn default() -> GetCompatibleVersionsOutputBuilder
fn default() -> GetCompatibleVersionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetCompatibleVersionsOutputBuilder
impl PartialEq for GetCompatibleVersionsOutputBuilder
source§fn eq(&self, other: &GetCompatibleVersionsOutputBuilder) -> bool
fn eq(&self, other: &GetCompatibleVersionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetCompatibleVersionsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetCompatibleVersionsOutputBuilder
impl Send for GetCompatibleVersionsOutputBuilder
impl Sync for GetCompatibleVersionsOutputBuilder
impl Unpin for GetCompatibleVersionsOutputBuilder
impl UnwindSafe for GetCompatibleVersionsOutputBuilder
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.