#[non_exhaustive]pub struct GetBucketsOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketsOutput
.
Implementations§
source§impl GetBucketsOutputBuilder
impl GetBucketsOutputBuilder
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
.
An array of objects that describe buckets.
sourcepub fn set_buckets(self, input: Option<Vec<Bucket>>) -> Self
pub fn set_buckets(self, input: Option<Vec<Bucket>>) -> Self
An array of objects that describe buckets.
sourcepub fn get_buckets(&self) -> &Option<Vec<Bucket>>
pub fn get_buckets(&self) -> &Option<Vec<Bucket>>
An array of objects that describe buckets.
sourcepub fn next_page_token(self, input: impl Into<String>) -> Self
pub fn next_page_token(self, input: impl Into<String>) -> Self
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page token using the pageToken
parameter.
sourcepub fn set_next_page_token(self, input: Option<String>) -> Self
pub fn set_next_page_token(self, input: Option<String>) -> Self
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page token using the pageToken
parameter.
sourcepub fn get_next_page_token(&self) -> &Option<String>
pub fn get_next_page_token(&self) -> &Option<String>
The token to advance to the next page of results from your request.
A next page token is not returned if there are no more results to display.
To get the next page of results, perform another GetBuckets
request and specify the next page token using the pageToken
parameter.
sourcepub fn account_level_bpa_sync(self, input: AccountLevelBpaSync) -> Self
pub fn account_level_bpa_sync(self, input: AccountLevelBpaSync) -> Self
An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets.
For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
sourcepub fn set_account_level_bpa_sync(
self,
input: Option<AccountLevelBpaSync>
) -> Self
pub fn set_account_level_bpa_sync( self, input: Option<AccountLevelBpaSync> ) -> Self
An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets.
For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
sourcepub fn get_account_level_bpa_sync(&self) -> &Option<AccountLevelBpaSync>
pub fn get_account_level_bpa_sync(&self) -> &Option<AccountLevelBpaSync>
An object that describes the synchronization status of the Amazon S3 account-level block public access feature for your Lightsail buckets.
For more information about this feature and how it affects Lightsail buckets, see Block public access for buckets in Amazon Lightsail.
sourcepub fn build(self) -> GetBucketsOutput
pub fn build(self) -> GetBucketsOutput
Consumes the builder and constructs a GetBucketsOutput
.
Trait Implementations§
source§impl Clone for GetBucketsOutputBuilder
impl Clone for GetBucketsOutputBuilder
source§fn clone(&self) -> GetBucketsOutputBuilder
fn clone(&self) -> GetBucketsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetBucketsOutputBuilder
impl Debug for GetBucketsOutputBuilder
source§impl Default for GetBucketsOutputBuilder
impl Default for GetBucketsOutputBuilder
source§fn default() -> GetBucketsOutputBuilder
fn default() -> GetBucketsOutputBuilder
source§impl PartialEq for GetBucketsOutputBuilder
impl PartialEq for GetBucketsOutputBuilder
source§fn eq(&self, other: &GetBucketsOutputBuilder) -> bool
fn eq(&self, other: &GetBucketsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetBucketsOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketsOutputBuilder
impl RefUnwindSafe for GetBucketsOutputBuilder
impl Send for GetBucketsOutputBuilder
impl Sync for GetBucketsOutputBuilder
impl Unpin for GetBucketsOutputBuilder
impl UnwindSafe for GetBucketsOutputBuilder
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> 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