pub struct Builder { /* private fields */ }Expand description
A builder for ListElasticsearchVersionsOutput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn elasticsearch_versions(self, input: impl Into<String>) -> Self
pub fn elasticsearch_versions(self, input: impl Into<String>) -> Self
Appends an item to elasticsearch_versions.
To override the contents of this collection use set_elasticsearch_versions.
List of supported elastic search versions.
sourcepub fn set_elasticsearch_versions(self, input: Option<Vec<String>>) -> Self
pub fn set_elasticsearch_versions(self, input: Option<Vec<String>>) -> Self
List of supported elastic search versions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Paginated APIs accepts NextToken input to returns next page results and provides a NextToken output in the response which can be used by the client to retrieve more results.
sourcepub fn build(self) -> ListElasticsearchVersionsOutput
pub fn build(self) -> ListElasticsearchVersionsOutput
Consumes the builder and constructs a ListElasticsearchVersionsOutput.