#[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 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<GetBucketPolicyOutputBuilder> for GetBucketPolicyOutputBuilder
impl PartialEq<GetBucketPolicyOutputBuilder> for GetBucketPolicyOutputBuilder
source§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 ==
.