#[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 ==
.