#[non_exhaustive]pub struct GetBucketAclInputBuilder { /* private fields */ }
Expand description
A builder for GetBucketAclInput
.
Implementations§
source§impl GetBucketAclInputBuilder
impl GetBucketAclInputBuilder
sourcepub fn bucket(self, input: impl Into<String>) -> Self
pub fn bucket(self, input: impl Into<String>) -> Self
Specifies the S3 bucket whose ACL is being requested.
sourcepub fn set_bucket(self, input: Option<String>) -> Self
pub fn set_bucket(self, input: Option<String>) -> Self
Specifies the S3 bucket whose ACL is being requested.
sourcepub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
pub fn expected_bucket_owner(self, input: impl Into<String>) -> Self
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
sourcepub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
pub fn set_expected_bucket_owner(self, input: Option<String>) -> Self
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code 403 Forbidden
(access denied).
sourcepub fn build(self) -> Result<GetBucketAclInput, BuildError>
pub fn build(self) -> Result<GetBucketAclInput, BuildError>
Consumes the builder and constructs a GetBucketAclInput
.
Trait Implementations§
source§impl Clone for GetBucketAclInputBuilder
impl Clone for GetBucketAclInputBuilder
source§fn clone(&self) -> GetBucketAclInputBuilder
fn clone(&self) -> GetBucketAclInputBuilder
Returns a copy 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 GetBucketAclInputBuilder
impl Debug for GetBucketAclInputBuilder
source§impl Default for GetBucketAclInputBuilder
impl Default for GetBucketAclInputBuilder
source§fn default() -> GetBucketAclInputBuilder
fn default() -> GetBucketAclInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetBucketAclInputBuilder> for GetBucketAclInputBuilder
impl PartialEq<GetBucketAclInputBuilder> for GetBucketAclInputBuilder
source§fn eq(&self, other: &GetBucketAclInputBuilder) -> bool
fn eq(&self, other: &GetBucketAclInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetBucketAclInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetBucketAclInputBuilder
impl Send for GetBucketAclInputBuilder
impl Sync for GetBucketAclInputBuilder
impl Unpin for GetBucketAclInputBuilder
impl UnwindSafe for GetBucketAclInputBuilder
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