#[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 continuation_token(self, input: impl Into<String>) -> Self
pub fn continuation_token(self, input: impl Into<String>) -> Self
ContinuationToken
is included in the response when there are more buckets that can be listed with pagination. The next ListBuckets
request to Amazon S3 can be continued with this ContinuationToken
. ContinuationToken
is obfuscated and is not a real bucket.
sourcepub fn set_continuation_token(self, input: Option<String>) -> Self
pub fn set_continuation_token(self, input: Option<String>) -> Self
ContinuationToken
is included in the response when there are more buckets that can be listed with pagination. The next ListBuckets
request to Amazon S3 can be continued with this ContinuationToken
. ContinuationToken
is obfuscated and is not a real bucket.
sourcepub fn get_continuation_token(&self) -> &Option<String>
pub fn get_continuation_token(&self) -> &Option<String>
ContinuationToken
is included in the response when there are more buckets that can be listed with pagination. The next ListBuckets
request to Amazon S3 can be continued with this ContinuationToken
. ContinuationToken
is obfuscated and is not a real bucket.
sourcepub fn prefix(self, input: impl Into<String>) -> Self
pub fn prefix(self, input: impl Into<String>) -> Self
If Prefix
was sent with the request, it is included in the response.
All bucket names in the response begin with the specified bucket name prefix.
sourcepub fn set_prefix(self, input: Option<String>) -> Self
pub fn set_prefix(self, input: Option<String>) -> Self
If Prefix
was sent with the request, it is included in the response.
All bucket names in the response begin with the specified bucket name prefix.
sourcepub fn get_prefix(&self) -> &Option<String>
pub fn get_prefix(&self) -> &Option<String>
If Prefix
was sent with the request, it is included in the response.
All bucket names in the response begin with the specified bucket name prefix.
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for ListBucketsOutputBuilder
impl PartialEq for ListBucketsOutputBuilder
impl StructuralPartialEq for ListBucketsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListBucketsOutputBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
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>
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 more