pub struct BucketAclV2ArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketAclV2ArgsBuilder<S>
impl<S: State> BucketAclV2ArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketAclV2Argswhere
S: IsComplete,
pub fn build_struct(self) -> BucketAclV2Argswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn access_control_policy(
self,
value: impl Into<Output<Option<BucketAclV2AccessControlPolicy>>>,
) -> BucketAclV2ArgsBuilder<SetAccessControlPolicy<S>>where
S::AccessControlPolicy: IsUnset,
pub fn access_control_policy(
self,
value: impl Into<Output<Option<BucketAclV2AccessControlPolicy>>>,
) -> BucketAclV2ArgsBuilder<SetAccessControlPolicy<S>>where
S::AccessControlPolicy: IsUnset,
sourcepub fn maybe_access_control_policy(
self,
value: Option<impl Into<Output<Option<BucketAclV2AccessControlPolicy>>>>,
) -> BucketAclV2ArgsBuilder<SetAccessControlPolicy<S>>where
S::AccessControlPolicy: IsUnset,
pub fn maybe_access_control_policy(
self,
value: Option<impl Into<Output<Option<BucketAclV2AccessControlPolicy>>>>,
) -> BucketAclV2ArgsBuilder<SetAccessControlPolicy<S>>where
S::AccessControlPolicy: IsUnset,
sourcepub fn acl(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketAclV2ArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
pub fn acl(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketAclV2ArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the Canned ACL to apply to the bucket. Valid values: private
, public-read
, public-read-write
, aws-exec-read
, authenticated-read
, bucket-owner-read
, bucket-owner-full-control
, log-delivery-write
. Full details are available on the AWS documentation.
sourcepub fn maybe_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketAclV2ArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
pub fn maybe_acl(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketAclV2ArgsBuilder<SetAcl<S>>where
S::Acl: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Specifies the Canned ACL to apply to the bucket. Valid values: private
, public-read
, public-read-write
, aws-exec-read
, authenticated-read
, bucket-owner-read
, bucket-owner-full-control
, log-delivery-write
. Full details are available on the AWS documentation.
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketAclV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketAclV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Bucket to which to apply the ACL.