#[non_exhaustive]pub struct GetPartitionsOutputBuilder { /* private fields */ }
Expand description
A builder for GetPartitionsOutput
.
Implementations§
source§impl GetPartitionsOutputBuilder
impl GetPartitionsOutputBuilder
sourcepub fn partitions(self, input: Partition) -> Self
pub fn partitions(self, input: Partition) -> Self
Appends an item to partitions
.
To override the contents of this collection use set_partitions
.
A list of requested partitions.
sourcepub fn set_partitions(self, input: Option<Vec<Partition>>) -> Self
pub fn set_partitions(self, input: Option<Vec<Partition>>) -> Self
A list of requested partitions.
sourcepub fn get_partitions(&self) -> &Option<Vec<Partition>>
pub fn get_partitions(&self) -> &Option<Vec<Partition>>
A list of requested partitions.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token, if the returned list of partitions does not include the last one.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token, if the returned list of partitions does not include the last one.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A continuation token, if the returned list of partitions does not include the last one.
sourcepub fn build(self) -> GetPartitionsOutput
pub fn build(self) -> GetPartitionsOutput
Consumes the builder and constructs a GetPartitionsOutput
.
Trait Implementations§
source§impl Clone for GetPartitionsOutputBuilder
impl Clone for GetPartitionsOutputBuilder
source§fn clone(&self) -> GetPartitionsOutputBuilder
fn clone(&self) -> GetPartitionsOutputBuilder
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 GetPartitionsOutputBuilder
impl Debug for GetPartitionsOutputBuilder
source§impl Default for GetPartitionsOutputBuilder
impl Default for GetPartitionsOutputBuilder
source§fn default() -> GetPartitionsOutputBuilder
fn default() -> GetPartitionsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetPartitionsOutputBuilder
impl PartialEq for GetPartitionsOutputBuilder
source§fn eq(&self, other: &GetPartitionsOutputBuilder) -> bool
fn eq(&self, other: &GetPartitionsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetPartitionsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetPartitionsOutputBuilder
impl RefUnwindSafe for GetPartitionsOutputBuilder
impl Send for GetPartitionsOutputBuilder
impl Sync for GetPartitionsOutputBuilder
impl Unpin for GetPartitionsOutputBuilder
impl UnwindSafe for GetPartitionsOutputBuilder
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> 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.