#[non_exhaustive]pub struct GetBucketAbacInputBuilder { /* private fields */ }Expand description
A builder for GetBucketAbacInput.
Implementations§
Source§impl GetBucketAbacInputBuilder
impl GetBucketAbacInputBuilder
Sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
The name of the general purpose bucket.
This field is required.Sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
The name of the general purpose bucket.
Sourcepub fn get_bucket(&self) -> &Option<String>
pub fn get_bucket(&self) -> &Option<String>
The name of the general purpose bucket.
Sourcepub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
pub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID of the general purpose bucket's owner.
Sourcepub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
pub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
The Amazon Web Services account ID of the general purpose bucket's owner.
Sourcepub fn get_expected_bucket_owner(&self) -> &Option<String>
pub fn get_expected_bucket_owner(&self) -> &Option<String>
The Amazon Web Services account ID of the general purpose bucket's owner.
Sourcepub fn build(self) -> Result<GetBucketAbacInput, BuildError>
pub fn build(self) -> Result<GetBucketAbacInput, BuildError>
Consumes the builder and constructs a GetBucketAbacInput.
Source§impl GetBucketAbacInputBuilder
impl GetBucketAbacInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GetBucketAbacOutput, SdkError<GetBucketAbacError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GetBucketAbacOutput, SdkError<GetBucketAbacError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for GetBucketAbacInputBuilder
impl Clone for GetBucketAbacInputBuilder
Source§fn clone(&self) -> GetBucketAbacInputBuilder
fn clone(&self) -> GetBucketAbacInputBuilder
Returns a duplicate 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 GetBucketAbacInputBuilder
impl Debug for GetBucketAbacInputBuilder
Source§impl Default for GetBucketAbacInputBuilder
impl Default for GetBucketAbacInputBuilder
Source§fn default() -> GetBucketAbacInputBuilder
fn default() -> GetBucketAbacInputBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GetBucketAbacInputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketAbacInputBuilder
impl RefUnwindSafe for GetBucketAbacInputBuilder
impl Send for GetBucketAbacInputBuilder
impl Sync for GetBucketAbacInputBuilder
impl Unpin for GetBucketAbacInputBuilder
impl UnwindSafe for GetBucketAbacInputBuilder
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> 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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.