Struct aws_sdk_s3::output::get_bucket_policy_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetBucketPolicyOutput
.
Implementations§
source§impl Builder
impl Builder
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
.