Struct aws_sdk_s3::model::policy_status::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PolicyStatus
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn is_public(self, input: bool) -> Self
pub fn is_public(self, input: bool) -> Self
The policy status for this bucket. TRUE
indicates that this bucket is public. FALSE
indicates that the bucket is not public.
sourcepub fn set_is_public(self, input: Option<bool>) -> Self
pub fn set_is_public(self, input: Option<bool>) -> Self
The policy status for this bucket. TRUE
indicates that this bucket is public. FALSE
indicates that the bucket is not public.
sourcepub fn build(self) -> PolicyStatus
pub fn build(self) -> PolicyStatus
Consumes the builder and constructs a PolicyStatus
.