#[non_exhaustive]pub struct GetBucketPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketPolicyOutput
.
Implementations§
source§impl GetBucketPolicyOutputBuilder
impl GetBucketPolicyOutputBuilder
sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The bucket policy as a JSON document.
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The bucket policy as a JSON document.
sourcepub fn build(self) -> GetBucketPolicyOutput
pub fn build(self) -> GetBucketPolicyOutput
Consumes the builder and constructs a GetBucketPolicyOutput
.
Trait Implementations§
source§impl Clone for GetBucketPolicyOutputBuilder
impl Clone for GetBucketPolicyOutputBuilder
source§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 moresource§impl Debug for GetBucketPolicyOutputBuilder
impl Debug for GetBucketPolicyOutputBuilder
source§impl Default for GetBucketPolicyOutputBuilder
impl Default for GetBucketPolicyOutputBuilder
source§fn default() -> GetBucketPolicyOutputBuilder
fn default() -> GetBucketPolicyOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetBucketPolicyOutputBuilder
impl PartialEq for GetBucketPolicyOutputBuilder
source§fn eq(&self, other: &GetBucketPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetBucketPolicyOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetBucketPolicyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketPolicyOutputBuilder
impl RefUnwindSafe for GetBucketPolicyOutputBuilder
impl Send for GetBucketPolicyOutputBuilder
impl Sync for GetBucketPolicyOutputBuilder
impl Unpin for GetBucketPolicyOutputBuilder
impl UnwindSafe for GetBucketPolicyOutputBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
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>
Creates a shared type from an unshared type.