pub struct DefaultObjectACLArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> DefaultObjectACLArgsBuilder<S>
impl<S: State> DefaultObjectACLArgsBuilder<S>
sourcepub fn build_struct(self) -> DefaultObjectACLArgswhere
S: IsComplete,
pub fn build_struct(self) -> DefaultObjectACLArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> DefaultObjectACLArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> DefaultObjectACLArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
The name of the bucket it applies to.
sourcepub fn role_entities(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> DefaultObjectACLArgsBuilder<SetRoleEntities<S>>where
S::RoleEntities: IsUnset,
pub fn role_entities(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> DefaultObjectACLArgsBuilder<SetRoleEntities<S>>where
S::RoleEntities: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
List of role/entity pairs in the form ROLE:entity
.
See GCS Object ACL documentation for more details.
Omitting the field is the same as providing an empty list.
sourcepub fn maybe_role_entities(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> DefaultObjectACLArgsBuilder<SetRoleEntities<S>>where
S::RoleEntities: IsUnset,
pub fn maybe_role_entities(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> DefaultObjectACLArgsBuilder<SetRoleEntities<S>>where
S::RoleEntities: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<Vec<String>>> as Default>::default()
.
List of role/entity pairs in the form ROLE:entity
.
See GCS Object ACL documentation for more details.
Omitting the field is the same as providing an empty list.
Auto Trait Implementations§
impl<S> Freeze for DefaultObjectACLArgsBuilder<S>
impl<S> RefUnwindSafe for DefaultObjectACLArgsBuilder<S>
impl<S> Send for DefaultObjectACLArgsBuilder<S>
impl<S> Sync for DefaultObjectACLArgsBuilder<S>
impl<S> Unpin for DefaultObjectACLArgsBuilder<S>
impl<S> UnwindSafe for DefaultObjectACLArgsBuilder<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