pub struct DefaultObjectAccessControlArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> DefaultObjectAccessControlArgsBuilder<S>
impl<S: State> DefaultObjectAccessControlArgsBuilder<S>
sourcepub fn build_struct(self) -> DefaultObjectAccessControlArgswhere
S: IsComplete,
pub fn build_struct(self) -> DefaultObjectAccessControlArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> DefaultObjectAccessControlArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> DefaultObjectAccessControlArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
The name of the bucket.
sourcepub fn entity(
self,
value: impl Into<Output<String>>,
) -> DefaultObjectAccessControlArgsBuilder<SetEntity<S>>where
S::Entity: IsUnset,
pub fn entity(
self,
value: impl Into<Output<String>>,
) -> DefaultObjectAccessControlArgsBuilder<SetEntity<S>>where
S::Entity: IsUnset,
Required.
The entity holding the permission, in one of the following forms:
- user-{{userId}}
- user-{{email}} (such as “user-liz@example.com”)
- group-{{groupId}}
- group-{{email}} (such as “group-example@googlegroups.com”)
- domain-{{domain}} (such as “domain-example.com”)
- project-team-{{projectId}}
- allUsers
- allAuthenticatedUsers
sourcepub fn object(
self,
value: impl Into<Output<Option<String>>>,
) -> DefaultObjectAccessControlArgsBuilder<SetObject<S>>where
S::Object: IsUnset,
pub fn object(
self,
value: impl Into<Output<Option<String>>>,
) -> DefaultObjectAccessControlArgsBuilder<SetObject<S>>where
S::Object: IsUnset,
sourcepub fn maybe_object(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DefaultObjectAccessControlArgsBuilder<SetObject<S>>where
S::Object: IsUnset,
pub fn maybe_object(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> DefaultObjectAccessControlArgsBuilder<SetObject<S>>where
S::Object: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for DefaultObjectAccessControlArgsBuilder<S>
impl<S> RefUnwindSafe for DefaultObjectAccessControlArgsBuilder<S>
impl<S> Send for DefaultObjectAccessControlArgsBuilder<S>
impl<S> Sync for DefaultObjectAccessControlArgsBuilder<S>
impl<S> Unpin for DefaultObjectAccessControlArgsBuilder<S>
impl<S> UnwindSafe for DefaultObjectAccessControlArgsBuilder<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