Struct aws_sdk_timestreamwrite::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: Database) -> Self
pub fn databases(self, input: Database) -> Self
Appends an item to databases
.
To override the contents of this collection use set_databases
.
A list of database names.
sourcepub fn set_databases(self, input: Option<Vec<Database>>) -> Self
pub fn set_databases(self, input: Option<Vec<Database>>) -> Self
A list of database names.
sourcepub fn get_databases(&self) -> &Option<Vec<Database>>
pub fn get_databases(&self) -> &Option<Vec<Database>>
A list of database names.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The pagination token. This parameter is returned when the response is truncated.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The pagination token. This parameter is returned when the response is truncated.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The pagination token. This parameter is returned when the response is truncated.
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
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 Debug for ListDatabasesOutputBuilder
impl Debug for ListDatabasesOutputBuilder
source§impl Default for ListDatabasesOutputBuilder
impl Default for ListDatabasesOutputBuilder
source§fn default() -> ListDatabasesOutputBuilder
fn default() -> ListDatabasesOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ListDatabasesOutputBuilder> for ListDatabasesOutputBuilder
impl PartialEq<ListDatabasesOutputBuilder> for ListDatabasesOutputBuilder
source§fn eq(&self, other: &ListDatabasesOutputBuilder) -> bool
fn eq(&self, other: &ListDatabasesOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListDatabasesOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListDatabasesOutputBuilder
impl Send for ListDatabasesOutputBuilder
impl Sync for ListDatabasesOutputBuilder
impl Unpin for ListDatabasesOutputBuilder
impl UnwindSafe for ListDatabasesOutputBuilder
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