pub struct BucketWebsiteConfigurationV2ArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketWebsiteConfigurationV2ArgsBuilder<S>
impl<S: State> BucketWebsiteConfigurationV2ArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketWebsiteConfigurationV2Argswhere
S: IsComplete,
pub fn build_struct(self) -> BucketWebsiteConfigurationV2Argswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the bucket.
sourcepub fn error_document(
self,
value: impl Into<Output<Option<BucketWebsiteConfigurationV2ErrorDocument>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetErrorDocument<S>>where
S::ErrorDocument: IsUnset,
pub fn error_document(
self,
value: impl Into<Output<Option<BucketWebsiteConfigurationV2ErrorDocument>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetErrorDocument<S>>where
S::ErrorDocument: IsUnset,
sourcepub fn maybe_error_document(
self,
value: Option<impl Into<Output<Option<BucketWebsiteConfigurationV2ErrorDocument>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetErrorDocument<S>>where
S::ErrorDocument: IsUnset,
pub fn maybe_error_document(
self,
value: Option<impl Into<Output<Option<BucketWebsiteConfigurationV2ErrorDocument>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetErrorDocument<S>>where
S::ErrorDocument: IsUnset,
sourcepub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn index_document(
self,
value: impl Into<Output<Option<BucketWebsiteConfigurationV2IndexDocument>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetIndexDocument<S>>where
S::IndexDocument: IsUnset,
pub fn index_document(
self,
value: impl Into<Output<Option<BucketWebsiteConfigurationV2IndexDocument>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetIndexDocument<S>>where
S::IndexDocument: IsUnset,
sourcepub fn maybe_index_document(
self,
value: Option<impl Into<Output<Option<BucketWebsiteConfigurationV2IndexDocument>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetIndexDocument<S>>where
S::IndexDocument: IsUnset,
pub fn maybe_index_document(
self,
value: Option<impl Into<Output<Option<BucketWebsiteConfigurationV2IndexDocument>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetIndexDocument<S>>where
S::IndexDocument: IsUnset,
sourcepub fn redirect_all_requests_to(
self,
value: impl Into<Output<Option<BucketWebsiteConfigurationV2RedirectAllRequestsTo>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetRedirectAllRequestsTo<S>>where
S::RedirectAllRequestsTo: IsUnset,
pub fn redirect_all_requests_to(
self,
value: impl Into<Output<Option<BucketWebsiteConfigurationV2RedirectAllRequestsTo>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetRedirectAllRequestsTo<S>>where
S::RedirectAllRequestsTo: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::s3::BucketWebsiteConfigurationV2RedirectAllRequestsTo>,
> as Default>::default()
Redirect behavior for every request to this bucket’s website endpoint. See below. Conflicts with error_document
, index_document
, and routing_rule
.
sourcepub fn maybe_redirect_all_requests_to(
self,
value: Option<impl Into<Output<Option<BucketWebsiteConfigurationV2RedirectAllRequestsTo>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetRedirectAllRequestsTo<S>>where
S::RedirectAllRequestsTo: IsUnset,
pub fn maybe_redirect_all_requests_to(
self,
value: Option<impl Into<Output<Option<BucketWebsiteConfigurationV2RedirectAllRequestsTo>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetRedirectAllRequestsTo<S>>where
S::RedirectAllRequestsTo: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::s3::BucketWebsiteConfigurationV2RedirectAllRequestsTo>,
> as Default>::default()
Redirect behavior for every request to this bucket’s website endpoint. See below. Conflicts with error_document
, index_document
, and routing_rule
.
sourcepub fn routing_rule_details(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetRoutingRuleDetails<S>>where
S::RoutingRuleDetails: IsUnset,
pub fn routing_rule_details(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetRoutingRuleDetails<S>>where
S::RoutingRuleDetails: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
JSON array containing routing rules
describing redirect behavior and when redirects are applied. Use this parameter when your routing rules contain empty String values (""
) as seen in the example above.
sourcepub fn maybe_routing_rule_details(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetRoutingRuleDetails<S>>where
S::RoutingRuleDetails: IsUnset,
pub fn maybe_routing_rule_details(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketWebsiteConfigurationV2ArgsBuilder<SetRoutingRuleDetails<S>>where
S::RoutingRuleDetails: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
JSON array containing routing rules
describing redirect behavior and when redirects are applied. Use this parameter when your routing rules contain empty String values (""
) as seen in the example above.