pub struct ObjectACLArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ObjectACLArgsBuilder<S>
impl<S: State> ObjectACLArgsBuilder<S>
sourcepub fn build_struct(self) -> ObjectACLArgswhere
S: IsComplete,
pub fn build_struct(self) -> ObjectACLArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> ObjectACLArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> ObjectACLArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
The name of the bucket the object is stored in.
sourcepub fn object(
self,
value: impl Into<Output<String>>,
) -> ObjectACLArgsBuilder<SetObject<S>>where
S::Object: IsUnset,
pub fn object(
self,
value: impl Into<Output<String>>,
) -> ObjectACLArgsBuilder<SetObject<S>>where
S::Object: IsUnset,
Required.
The name of the object to apply the acl to.
sourcepub fn predefined_acl(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectACLArgsBuilder<SetPredefinedAcl<S>>where
S::PredefinedAcl: IsUnset,
pub fn predefined_acl(
self,
value: impl Into<Output<Option<String>>>,
) -> ObjectACLArgsBuilder<SetPredefinedAcl<S>>where
S::PredefinedAcl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The “canned” predefined ACL to apply. Must be set if role_entity
is not.
sourcepub fn maybe_predefined_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectACLArgsBuilder<SetPredefinedAcl<S>>where
S::PredefinedAcl: IsUnset,
pub fn maybe_predefined_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> ObjectACLArgsBuilder<SetPredefinedAcl<S>>where
S::PredefinedAcl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The “canned” predefined ACL to apply. Must be set if role_entity
is not.
sourcepub fn role_entities(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> ObjectACLArgsBuilder<SetRoleEntities<S>>where
S::RoleEntities: IsUnset,
pub fn role_entities(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> ObjectACLArgsBuilder<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.
Must be set if predefined_acl
is not.
sourcepub fn maybe_role_entities(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> ObjectACLArgsBuilder<SetRoleEntities<S>>where
S::RoleEntities: IsUnset,
pub fn maybe_role_entities(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> ObjectACLArgsBuilder<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.
Must be set if predefined_acl
is not.