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 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<GetBucketPolicyStatusOutputBuilder> for GetBucketPolicyStatusOutputBuilder
impl PartialEq<GetBucketPolicyStatusOutputBuilder> for GetBucketPolicyStatusOutputBuilder
source§fn eq(&self, other: &GetBucketPolicyStatusOutputBuilder) -> bool
fn eq(&self, other: &GetBucketPolicyStatusOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.