#[non_exhaustive]pub struct ListVersionsOutputBuilder { /* private fields */ }Expand description
A builder for ListVersionsOutput.
Implementations§
source§impl ListVersionsOutputBuilder
impl ListVersionsOutputBuilder
sourcepub fn versions(self, input: impl Into<String>) -> Self
pub fn versions(self, input: impl Into<String>) -> Self
Appends an item to versions.
To override the contents of this collection use set_versions.
A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
sourcepub fn set_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_versions(self, input: Option<Vec<String>>) -> Self
A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
sourcepub fn get_versions(&self) -> &Option<Vec<String>>
pub fn get_versions(&self) -> &Option<Vec<String>>
A list of all versions of OpenSearch and Elasticsearch that Amazon OpenSearch Service supports.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
When nextToken is returned, there are more results available. The value of nextToken is a unique pagination token for each page. Send the request again using the returned token to retrieve the next page.
sourcepub fn build(self) -> ListVersionsOutput
pub fn build(self) -> ListVersionsOutput
Consumes the builder and constructs a ListVersionsOutput.
Trait Implementations§
source§impl Clone for ListVersionsOutputBuilder
impl Clone for ListVersionsOutputBuilder
source§fn clone(&self) -> ListVersionsOutputBuilder
fn clone(&self) -> ListVersionsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListVersionsOutputBuilder
impl Debug for ListVersionsOutputBuilder
source§impl Default for ListVersionsOutputBuilder
impl Default for ListVersionsOutputBuilder
source§fn default() -> ListVersionsOutputBuilder
fn default() -> ListVersionsOutputBuilder
source§impl PartialEq for ListVersionsOutputBuilder
impl PartialEq for ListVersionsOutputBuilder
source§fn eq(&self, other: &ListVersionsOutputBuilder) -> bool
fn eq(&self, other: &ListVersionsOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListVersionsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListVersionsOutputBuilder
impl RefUnwindSafe for ListVersionsOutputBuilder
impl Send for ListVersionsOutputBuilder
impl Sync for ListVersionsOutputBuilder
impl Unpin for ListVersionsOutputBuilder
impl UnwindSafe for ListVersionsOutputBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more