Package com.pulumi.aws.s3
Class BucketWebsiteConfigurationV2Args.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.BucketWebsiteConfigurationV2Args.Builder
-
- Enclosing class:
- BucketWebsiteConfigurationV2Args
public static final class BucketWebsiteConfigurationV2Args.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(BucketWebsiteConfigurationV2Args defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketWebsiteConfigurationV2Args defaults)
-
-
Method Detail
-
bucket
public BucketWebsiteConfigurationV2Args.Builder bucket(com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket- Name of the bucket.- Returns:
- builder
-
bucket
public BucketWebsiteConfigurationV2Args.Builder bucket(java.lang.String bucket)
- Parameters:
bucket- Name of the bucket.- Returns:
- builder
-
errorDocument
public BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.Builder errorDocument(BucketWebsiteConfigurationV2ErrorDocumentArgs errorDocument)
- Parameters:
errorDocument- Name of the error document for the website. See below.- Returns:
- builder
-
expectedBucketOwner
@Deprecated public BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.Builder indexDocument(BucketWebsiteConfigurationV2IndexDocumentArgs indexDocument)
- Parameters:
indexDocument- Name of the index document for the website. See below.- Returns:
- builder
-
redirectAllRequestsTo
public BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.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 BucketWebsiteConfigurationV2Args.Builder routingRules(BucketWebsiteConfigurationV2RoutingRuleArgs... routingRules)
- Parameters:
routingRules- List of rules that define when a redirect is applied and the redirect behavior. See below.- Returns:
- builder
-
build
public BucketWebsiteConfigurationV2Args build()
-
-