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
impl StructuralPartialEq for ListDatabasesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListDatabasesOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.