#[non_exhaustive]pub struct ListBucketsInputBuilder { /* private fields */ }Expand description
A builder for ListBucketsInput.
Implementations§
Source§impl ListBucketsInputBuilder
impl ListBucketsInputBuilder
Sourcepub fn max_buckets(self, input: i32) -> Self
pub fn max_buckets(self, input: i32) -> Self
Maximum number of buckets to be returned in response. When the number is more than the count of buckets that are owned by an Amazon Web Services account, return all the buckets in response.
Sourcepub fn set_max_buckets(self, input: Option<i32>) -> Self
pub fn set_max_buckets(self, input: Option<i32>) -> Self
Maximum number of buckets to be returned in response. When the number is more than the count of buckets that are owned by an Amazon Web Services account, return all the buckets in response.
Sourcepub fn get_max_buckets(&self) -> &Option<i32>
pub fn get_max_buckets(&self) -> &Option<i32>
Maximum number of buckets to be returned in response. When the number is more than the count of buckets that are owned by an Amazon Web Services account, return all the buckets in response.
Sourcepub fn continuation_token(self, input: impl Into<String>) -> Self
pub fn continuation_token(self, input: impl Into<String>) -> Self
ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.
Length Constraints: Minimum length of 0. Maximum length of 1024.
Required: No.
Sourcepub fn set_continuation_token(self, input: Option<String>) -> Self
pub fn set_continuation_token(self, input: Option<String>) -> Self
ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.
Length Constraints: Minimum length of 0. Maximum length of 1024.
Required: No.
Sourcepub fn get_continuation_token(&self) -> &Option<String>
pub fn get_continuation_token(&self) -> &Option<String>
ContinuationToken indicates to Amazon S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.
Length Constraints: Minimum length of 0. Maximum length of 1024.
Required: No.
Sourcepub fn build(self) -> Result<ListBucketsInput, BuildError>
pub fn build(self) -> Result<ListBucketsInput, BuildError>
Consumes the builder and constructs a ListBucketsInput.
Source§impl ListBucketsInputBuilder
impl ListBucketsInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListBucketsOutput, SdkError<ListBucketsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListBucketsOutput, SdkError<ListBucketsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for ListBucketsInputBuilder
impl Clone for ListBucketsInputBuilder
Source§fn clone(&self) -> ListBucketsInputBuilder
fn clone(&self) -> ListBucketsInputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListBucketsInputBuilder
impl Debug for ListBucketsInputBuilder
Source§impl Default for ListBucketsInputBuilder
impl Default for ListBucketsInputBuilder
Source§fn default() -> ListBucketsInputBuilder
fn default() -> ListBucketsInputBuilder
Source§impl PartialEq for ListBucketsInputBuilder
impl PartialEq for ListBucketsInputBuilder
impl StructuralPartialEq for ListBucketsInputBuilder
Auto Trait Implementations§
impl Freeze for ListBucketsInputBuilder
impl RefUnwindSafe for ListBucketsInputBuilder
impl Send for ListBucketsInputBuilder
impl Sync for ListBucketsInputBuilder
impl Unpin for ListBucketsInputBuilder
impl UnwindSafe for ListBucketsInputBuilder
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§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