#[non_exhaustive]pub struct ListChunksOutputBuilder { /* private fields */ }
Expand description
A builder for ListChunksOutput
.
Implementations§
source§impl ListChunksOutputBuilder
impl ListChunksOutputBuilder
sourcepub fn chunk_list(self, input: Chunk) -> Self
pub fn chunk_list(self, input: Chunk) -> Self
Appends an item to chunk_list
.
To override the contents of this collection use set_chunk_list
.
List of chunks
sourcepub fn set_chunk_list(self, input: Option<Vec<Chunk>>) -> Self
pub fn set_chunk_list(self, input: Option<Vec<Chunk>>) -> Self
List of chunks
sourcepub fn get_chunk_list(&self) -> &Option<Vec<Chunk>>
pub fn get_chunk_list(&self) -> &Option<Vec<Chunk>>
List of chunks
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Pagination token
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Pagination token
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Pagination token
sourcepub fn build(self) -> Result<ListChunksOutput, BuildError>
pub fn build(self) -> Result<ListChunksOutput, BuildError>
Consumes the builder and constructs a ListChunksOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListChunksOutputBuilder
impl Clone for ListChunksOutputBuilder
source§fn clone(&self) -> ListChunksOutputBuilder
fn clone(&self) -> ListChunksOutputBuilder
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 ListChunksOutputBuilder
impl Debug for ListChunksOutputBuilder
source§impl Default for ListChunksOutputBuilder
impl Default for ListChunksOutputBuilder
source§fn default() -> ListChunksOutputBuilder
fn default() -> ListChunksOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListChunksOutputBuilder
impl PartialEq for ListChunksOutputBuilder
source§fn eq(&self, other: &ListChunksOutputBuilder) -> bool
fn eq(&self, other: &ListChunksOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListChunksOutputBuilder
Auto Trait Implementations§
impl Freeze for ListChunksOutputBuilder
impl RefUnwindSafe for ListChunksOutputBuilder
impl Send for ListChunksOutputBuilder
impl Sync for ListChunksOutputBuilder
impl Unpin for ListChunksOutputBuilder
impl UnwindSafe for ListChunksOutputBuilder
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.