Struct aws_sdk_s3::operation::get_bucket_policy_status::builders::GetBucketPolicyStatusOutputBuilder
source · #[non_exhaustive]pub struct GetBucketPolicyStatusOutputBuilder { /* private fields */ }
Expand description
A builder for GetBucketPolicyStatusOutput
.
Implementations§
source§impl GetBucketPolicyStatusOutputBuilder
impl GetBucketPolicyStatusOutputBuilder
sourcepub fn policy_status(self, input: PolicyStatus) -> Self
pub fn policy_status(self, input: PolicyStatus) -> Self
The policy status for the specified bucket.
sourcepub fn set_policy_status(self, input: Option<PolicyStatus>) -> Self
pub fn set_policy_status(self, input: Option<PolicyStatus>) -> Self
The policy status for the specified bucket.
sourcepub fn get_policy_status(&self) -> &Option<PolicyStatus>
pub fn get_policy_status(&self) -> &Option<PolicyStatus>
The policy status for the specified bucket.
sourcepub fn build(self) -> GetBucketPolicyStatusOutput
pub fn build(self) -> GetBucketPolicyStatusOutput
Consumes the builder and constructs a GetBucketPolicyStatusOutput
.
Trait Implementations§
source§impl Clone for GetBucketPolicyStatusOutputBuilder
impl Clone for GetBucketPolicyStatusOutputBuilder
source§fn clone(&self) -> GetBucketPolicyStatusOutputBuilder
fn clone(&self) -> GetBucketPolicyStatusOutputBuilder
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 Default for GetBucketPolicyStatusOutputBuilder
impl Default for GetBucketPolicyStatusOutputBuilder
source§fn default() -> GetBucketPolicyStatusOutputBuilder
fn default() -> GetBucketPolicyStatusOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetBucketPolicyStatusOutputBuilder
impl PartialEq for GetBucketPolicyStatusOutputBuilder
source§fn eq(&self, other: &GetBucketPolicyStatusOutputBuilder) -> bool
fn eq(&self, other: &GetBucketPolicyStatusOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetBucketPolicyStatusOutputBuilder
Auto Trait Implementations§
impl Freeze for GetBucketPolicyStatusOutputBuilder
impl RefUnwindSafe for GetBucketPolicyStatusOutputBuilder
impl Send for GetBucketPolicyStatusOutputBuilder
impl Sync for GetBucketPolicyStatusOutputBuilder
impl Unpin for GetBucketPolicyStatusOutputBuilder
impl UnwindSafe for GetBucketPolicyStatusOutputBuilder
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.