pub struct BucketAccessControlArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketAccessControlArgsBuilder<S>
impl<S: State> BucketAccessControlArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketAccessControlArgswhere
S: IsComplete,
pub fn build_struct(self) -> BucketAccessControlArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketAccessControlArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketAccessControlArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
The name of the bucket.
sourcepub fn entity(
self,
value: impl Into<Output<String>>,
) -> BucketAccessControlArgsBuilder<SetEntity<S>>where
S::Entity: IsUnset,
pub fn entity(
self,
value: impl Into<Output<String>>,
) -> BucketAccessControlArgsBuilder<SetEntity<S>>where
S::Entity: IsUnset,
Required.
The entity holding the permission, in one of the following forms: user-userId user-email group-groupId group-email domain-domain project-team-projectId allUsers allAuthenticatedUsers Examples: The user liz@example.com would be user-liz@example.com. The group example@googlegroups.com would be group-example@googlegroups.com. To refer to all members of the Google Apps for Business domain example.com, the entity would be domain-example.com.
sourcepub fn role(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketAccessControlArgsBuilder<SetRole<S>>where
S::Role: IsUnset,
pub fn role(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketAccessControlArgsBuilder<SetRole<S>>where
S::Role: IsUnset,
sourcepub fn maybe_role(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketAccessControlArgsBuilder<SetRole<S>>where
S::Role: IsUnset,
pub fn maybe_role(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketAccessControlArgsBuilder<SetRole<S>>where
S::Role: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for BucketAccessControlArgsBuilder<S>
impl<S> RefUnwindSafe for BucketAccessControlArgsBuilder<S>
impl<S> Send for BucketAccessControlArgsBuilder<S>
impl<S> Sync for BucketAccessControlArgsBuilder<S>
impl<S> Unpin for BucketAccessControlArgsBuilder<S>
impl<S> UnwindSafe for BucketAccessControlArgsBuilder<S>
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