Struct aws_sdk_s3::operation::list_buckets::builders::ListBucketsInputBuilder
source · #[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§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