#[non_exhaustive]pub struct ListBucketsOutputBuilder { /* private fields */ }
Expand description
A builder for ListBucketsOutput
.
Implementations§
source§impl ListBucketsOutputBuilder
impl ListBucketsOutputBuilder
sourcepub fn buckets(self, input: Bucket) -> Self
pub fn buckets(self, input: Bucket) -> Self
Appends an item to buckets
.
To override the contents of this collection use set_buckets
.
The list of buckets owned by the requester.
sourcepub fn set_buckets(self, input: Option<Vec<Bucket>>) -> Self
pub fn set_buckets(self, input: Option<Vec<Bucket>>) -> Self
The list of buckets owned by the requester.
sourcepub fn get_buckets(&self) -> &Option<Vec<Bucket>>
pub fn get_buckets(&self) -> &Option<Vec<Bucket>>
The list of buckets owned by the requester.
sourcepub fn build(self) -> ListBucketsOutput
pub fn build(self) -> ListBucketsOutput
Consumes the builder and constructs a ListBucketsOutput
.
Trait Implementations§
source§impl Clone for ListBucketsOutputBuilder
impl Clone for ListBucketsOutputBuilder
source§fn clone(&self) -> ListBucketsOutputBuilder
fn clone(&self) -> ListBucketsOutputBuilder
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 ListBucketsOutputBuilder
impl Debug for ListBucketsOutputBuilder
source§impl Default for ListBucketsOutputBuilder
impl Default for ListBucketsOutputBuilder
source§fn default() -> ListBucketsOutputBuilder
fn default() -> ListBucketsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ListBucketsOutputBuilder
impl PartialEq for ListBucketsOutputBuilder
source§fn eq(&self, other: &ListBucketsOutputBuilder) -> bool
fn eq(&self, other: &ListBucketsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListBucketsOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ListBucketsOutputBuilder
impl Send for ListBucketsOutputBuilder
impl Sync for ListBucketsOutputBuilder
impl Unpin for ListBucketsOutputBuilder
impl UnwindSafe for ListBucketsOutputBuilder
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>
Creates a shared type from an unshared type.