pub struct BackendBucketArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BackendBucketArgsBuilder<S>
impl<S: State> BackendBucketArgsBuilder<S>
sourcepub fn build_struct(self) -> BackendBucketArgswhere
S: IsComplete,
pub fn build_struct(self) -> BackendBucketArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket_name(
self,
value: impl Into<Output<String>>,
) -> BackendBucketArgsBuilder<SetBucketName<S>>where
S::BucketName: IsUnset,
pub fn bucket_name(
self,
value: impl Into<Output<String>>,
) -> BackendBucketArgsBuilder<SetBucketName<S>>where
S::BucketName: IsUnset,
Required.
Cloud Storage bucket name.
sourcepub fn cdn_policy(
self,
value: impl Into<Output<Option<BackendBucketCdnPolicy>>>,
) -> BackendBucketArgsBuilder<SetCdnPolicy<S>>where
S::CdnPolicy: IsUnset,
pub fn cdn_policy(
self,
value: impl Into<Output<Option<BackendBucketCdnPolicy>>>,
) -> BackendBucketArgsBuilder<SetCdnPolicy<S>>where
S::CdnPolicy: IsUnset,
sourcepub fn maybe_cdn_policy(
self,
value: Option<impl Into<Output<Option<BackendBucketCdnPolicy>>>>,
) -> BackendBucketArgsBuilder<SetCdnPolicy<S>>where
S::CdnPolicy: IsUnset,
pub fn maybe_cdn_policy(
self,
value: Option<impl Into<Output<Option<BackendBucketCdnPolicy>>>>,
) -> BackendBucketArgsBuilder<SetCdnPolicy<S>>where
S::CdnPolicy: IsUnset,
sourcepub fn compression_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> BackendBucketArgsBuilder<SetCompressionMode<S>>where
S::CompressionMode: IsUnset,
pub fn compression_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> BackendBucketArgsBuilder<SetCompressionMode<S>>where
S::CompressionMode: IsUnset,
sourcepub fn maybe_compression_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BackendBucketArgsBuilder<SetCompressionMode<S>>where
S::CompressionMode: IsUnset,
pub fn maybe_compression_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BackendBucketArgsBuilder<SetCompressionMode<S>>where
S::CompressionMode: IsUnset,
sourcepub fn custom_response_headers(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> BackendBucketArgsBuilder<SetCustomResponseHeaders<S>>where
S::CustomResponseHeaders: IsUnset,
pub fn custom_response_headers(
self,
value: impl Into<Output<Option<Vec<String>>>>,
) -> BackendBucketArgsBuilder<SetCustomResponseHeaders<S>>where
S::CustomResponseHeaders: IsUnset,
sourcepub fn maybe_custom_response_headers(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> BackendBucketArgsBuilder<SetCustomResponseHeaders<S>>where
S::CustomResponseHeaders: IsUnset,
pub fn maybe_custom_response_headers(
self,
value: Option<impl Into<Output<Option<Vec<String>>>>>,
) -> BackendBucketArgsBuilder<SetCustomResponseHeaders<S>>where
S::CustomResponseHeaders: IsUnset,
sourcepub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> BackendBucketArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn description(
self,
value: impl Into<Output<Option<String>>>,
) -> BackendBucketArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BackendBucketArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
pub fn maybe_description(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BackendBucketArgsBuilder<SetDescription<S>>where
S::Description: IsUnset,
sourcepub fn edge_security_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> BackendBucketArgsBuilder<SetEdgeSecurityPolicy<S>>where
S::EdgeSecurityPolicy: IsUnset,
pub fn edge_security_policy(
self,
value: impl Into<Output<Option<String>>>,
) -> BackendBucketArgsBuilder<SetEdgeSecurityPolicy<S>>where
S::EdgeSecurityPolicy: IsUnset,
sourcepub fn maybe_edge_security_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BackendBucketArgsBuilder<SetEdgeSecurityPolicy<S>>where
S::EdgeSecurityPolicy: IsUnset,
pub fn maybe_edge_security_policy(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BackendBucketArgsBuilder<SetEdgeSecurityPolicy<S>>where
S::EdgeSecurityPolicy: IsUnset,
sourcepub fn enable_cdn(
self,
value: impl Into<Output<Option<bool>>>,
) -> BackendBucketArgsBuilder<SetEnableCdn<S>>where
S::EnableCdn: IsUnset,
pub fn enable_cdn(
self,
value: impl Into<Output<Option<bool>>>,
) -> BackendBucketArgsBuilder<SetEnableCdn<S>>where
S::EnableCdn: IsUnset,
sourcepub fn maybe_enable_cdn(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BackendBucketArgsBuilder<SetEnableCdn<S>>where
S::EnableCdn: IsUnset,
pub fn maybe_enable_cdn(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BackendBucketArgsBuilder<SetEnableCdn<S>>where
S::EnableCdn: IsUnset,
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BackendBucketArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BackendBucketArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and
match the regular expression a-z?
which means
the first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the
last character, which cannot be a dash.
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BackendBucketArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BackendBucketArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and
match the regular expression a-z?
which means
the first character must be a lowercase letter, and all following
characters must be a dash, lowercase letter, or digit, except the
last character, which cannot be a dash.