Struct aws_sdk_redshiftdata::operation::list_databases::builders::ListDatabasesOutputBuilder
source · #[non_exhaustive]pub struct ListDatabasesOutputBuilder { /* private fields */ }
Expand description
A builder for ListDatabasesOutput
.
Implementations§
source§impl ListDatabasesOutputBuilder
impl ListDatabasesOutputBuilder
sourcepub fn databases(self, input: impl Into<String>) -> Self
pub fn databases(self, input: impl Into<String>) -> Self
Appends an item to databases
.
To override the contents of this collection use set_databases
.
The names of databases.
sourcepub fn set_databases(self, input: Option<Vec<String>>) -> Self
pub fn set_databases(self, input: Option<Vec<String>>) -> Self
The names of databases.
sourcepub fn get_databases(&self) -> &Option<Vec<String>>
pub fn get_databases(&self) -> &Option<Vec<String>>
The names of databases.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A value that indicates the starting point for the next set of response records in a subsequent request. If a value is returned in a response, you can retrieve the next set of records by providing this returned NextToken value in the next NextToken parameter and retrying the command. If the NextToken field is empty, all response records have been retrieved for the request.
sourcepub fn build(self) -> ListDatabasesOutput
pub fn build(self) -> ListDatabasesOutput
Consumes the builder and constructs a ListDatabasesOutput
.
Trait Implementations§
source§impl Clone for ListDatabasesOutputBuilder
impl Clone for ListDatabasesOutputBuilder
source§fn clone(&self) -> ListDatabasesOutputBuilder
fn clone(&self) -> ListDatabasesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListDatabasesOutputBuilder
impl Debug for ListDatabasesOutputBuilder
source§impl Default for ListDatabasesOutputBuilder
impl Default for ListDatabasesOutputBuilder
source§fn default() -> ListDatabasesOutputBuilder
fn default() -> ListDatabasesOutputBuilder
source§impl PartialEq for ListDatabasesOutputBuilder
impl PartialEq for ListDatabasesOutputBuilder
source§fn eq(&self, other: &ListDatabasesOutputBuilder) -> bool
fn eq(&self, other: &ListDatabasesOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.