Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::get_bucket_policy::builders::GetBucketPolicyOutputBuilder
#[non_exhaustive]pub struct GetBucketPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketPolicyOutput
.
Implementations§
§impl GetBucketPolicyOutputBuilder
impl GetBucketPolicyOutputBuilder
pub fn policy(self, input: impl Into<String>) -> GetBucketPolicyOutputBuilder
pub fn policy(self, input: impl Into<String>) -> GetBucketPolicyOutputBuilder
The bucket policy as a JSON document.
pub fn set_policy(self, input: Option<String>) -> GetBucketPolicyOutputBuilder
pub fn set_policy(self, input: Option<String>) -> GetBucketPolicyOutputBuilder
The bucket policy as a JSON document.
pub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The bucket policy as a JSON document.
pub fn build(self) -> GetBucketPolicyOutput
pub fn build(self) -> GetBucketPolicyOutput
Consumes the builder and constructs a GetBucketPolicyOutput
.
Trait Implementations§
§impl Clone for GetBucketPolicyOutputBuilder
impl Clone for GetBucketPolicyOutputBuilder
§fn clone(&self) -> GetBucketPolicyOutputBuilder
fn clone(&self) -> GetBucketPolicyOutputBuilder
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 more§impl Debug for GetBucketPolicyOutputBuilder
impl Debug for GetBucketPolicyOutputBuilder
§impl Default for GetBucketPolicyOutputBuilder
impl Default for GetBucketPolicyOutputBuilder
§fn default() -> GetBucketPolicyOutputBuilder
fn default() -> GetBucketPolicyOutputBuilder
Returns the “default value” for a type. Read more
§impl PartialEq for GetBucketPolicyOutputBuilder
impl PartialEq for GetBucketPolicyOutputBuilder
§fn eq(&self, other: &GetBucketPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetBucketPolicyOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetBucketPolicyOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetBucketPolicyOutputBuilder
impl Send for GetBucketPolicyOutputBuilder
impl Sync for GetBucketPolicyOutputBuilder
impl Unpin for GetBucketPolicyOutputBuilder
impl UnwindSafe for GetBucketPolicyOutputBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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