Package com.pulumi.aws.s3.inputs
Class BucketWebsiteConfigurationV2State.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.inputs.BucketWebsiteConfigurationV2State.Builder
-
- Enclosing class:
- BucketWebsiteConfigurationV2State
public static final class BucketWebsiteConfigurationV2State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(BucketWebsiteConfigurationV2State defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketWebsiteConfigurationV2State defaults)
-
-
Method Detail
-
bucket
public BucketWebsiteConfigurationV2State.Builder bucket(@Nullable com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket- Name of the bucket.- Returns:
- builder
-
bucket
public BucketWebsiteConfigurationV2State.Builder bucket(java.lang.String bucket)
- Parameters:
bucket- Name of the bucket.- Returns:
- builder
-
errorDocument
public BucketWebsiteConfigurationV2State.Builder errorDocument(@Nullable com.pulumi.core.Output<BucketWebsiteConfigurationV2ErrorDocumentArgs> errorDocument)
- Parameters:
errorDocument- Name of the error document for the website. See below.- Returns:
- builder
-
errorDocument
public BucketWebsiteConfigurationV2State.Builder errorDocument(BucketWebsiteConfigurationV2ErrorDocumentArgs errorDocument)
- Parameters:
errorDocument- Name of the error document for the website. See below.- Returns:
- builder
-
expectedBucketOwner
@Deprecated public BucketWebsiteConfigurationV2State.Builder expectedBucketOwner(@Nullable com.pulumi.core.Output<java.lang.String> expectedBucketOwner)
Deprecated.expected_bucket_owner is deprecated. It will be removed in a future verion of the provider.- Parameters:
expectedBucketOwner- Account ID of the expected bucket owner.- Returns:
- builder
-
expectedBucketOwner
@Deprecated public BucketWebsiteConfigurationV2State.Builder expectedBucketOwner(java.lang.String expectedBucketOwner)
Deprecated.expected_bucket_owner is deprecated. It will be removed in a future verion of the provider.- Parameters:
expectedBucketOwner- Account ID of the expected bucket owner.- Returns:
- builder
-
indexDocument
public BucketWebsiteConfigurationV2State.Builder indexDocument(@Nullable com.pulumi.core.Output<BucketWebsiteConfigurationV2IndexDocumentArgs> indexDocument)
- Parameters:
indexDocument- Name of the index document for the website. See below.- Returns:
- builder
-
indexDocument
public BucketWebsiteConfigurationV2State.Builder indexDocument(BucketWebsiteConfigurationV2IndexDocumentArgs indexDocument)
- Parameters:
indexDocument- Name of the index document for the website. See below.- Returns:
- builder
-
redirectAllRequestsTo
public BucketWebsiteConfigurationV2State.Builder redirectAllRequestsTo(@Nullable com.pulumi.core.Output<BucketWebsiteConfigurationV2RedirectAllRequestsToArgs> redirectAllRequestsTo)
- Parameters:
redirectAllRequestsTo- Redirect behavior for every request to this bucket's website endpoint. See below. Conflicts with `errorDocument`, `indexDocument`, and `routingRule`.- Returns:
- builder
-
redirectAllRequestsTo
public BucketWebsiteConfigurationV2State.Builder redirectAllRequestsTo(BucketWebsiteConfigurationV2RedirectAllRequestsToArgs redirectAllRequestsTo)
- Parameters:
redirectAllRequestsTo- Redirect behavior for every request to this bucket's website endpoint. See below. Conflicts with `errorDocument`, `indexDocument`, and `routingRule`.- Returns:
- builder
-
region
public BucketWebsiteConfigurationV2State.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
region
public BucketWebsiteConfigurationV2State.Builder region(java.lang.String region)
- Parameters:
region- Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.- Returns:
- builder
-
routingRuleDetails
public BucketWebsiteConfigurationV2State.Builder routingRuleDetails(@Nullable com.pulumi.core.Output<java.lang.String> routingRuleDetails)
- Parameters:
routingRuleDetails- JSON array containing [routing rules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html) 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.- Returns:
- builder
-
routingRuleDetails
public BucketWebsiteConfigurationV2State.Builder routingRuleDetails(java.lang.String routingRuleDetails)
- Parameters:
routingRuleDetails- JSON array containing [routing rules](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html) 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.- Returns:
- builder
-
routingRules
public BucketWebsiteConfigurationV2State.Builder routingRules(@Nullable com.pulumi.core.Output<java.util.List<BucketWebsiteConfigurationV2RoutingRuleArgs>> routingRules)
- Parameters:
routingRules- List of rules that define when a redirect is applied and the redirect behavior. See below.- Returns:
- builder
-
routingRules
public BucketWebsiteConfigurationV2State.Builder routingRules(java.util.List<BucketWebsiteConfigurationV2RoutingRuleArgs> routingRules)
- Parameters:
routingRules- List of rules that define when a redirect is applied and the redirect behavior. See below.- Returns:
- builder
-
routingRules
public BucketWebsiteConfigurationV2State.Builder routingRules(BucketWebsiteConfigurationV2RoutingRuleArgs... routingRules)
- Parameters:
routingRules- List of rules that define when a redirect is applied and the redirect behavior. See below.- Returns:
- builder
-
websiteDomain
public BucketWebsiteConfigurationV2State.Builder websiteDomain(@Nullable com.pulumi.core.Output<java.lang.String> websiteDomain)
- Parameters:
websiteDomain- Domain of the website endpoint. This is used to create Route 53 alias records.- Returns:
- builder
-
websiteDomain
public BucketWebsiteConfigurationV2State.Builder websiteDomain(java.lang.String websiteDomain)
- Parameters:
websiteDomain- Domain of the website endpoint. This is used to create Route 53 alias records.- Returns:
- builder
-
websiteEndpoint
public BucketWebsiteConfigurationV2State.Builder websiteEndpoint(@Nullable com.pulumi.core.Output<java.lang.String> websiteEndpoint)
- Parameters:
websiteEndpoint- Website endpoint.- Returns:
- builder
-
websiteEndpoint
public BucketWebsiteConfigurationV2State.Builder websiteEndpoint(java.lang.String websiteEndpoint)
- Parameters:
websiteEndpoint- Website endpoint.- Returns:
- builder
-
build
public BucketWebsiteConfigurationV2State build()
-
-