Package com.pulumi.aws.s3.inputs
Class BucketV2State.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.inputs.BucketV2State.Builder
-
- Enclosing class:
- BucketV2State
public static final class BucketV2State.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(BucketV2State defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BucketV2State.BuilderaccelerationStatus(com.pulumi.core.Output<java.lang.String> accelerationStatus)Deprecated.acceleration_status is deprecated.BucketV2State.BuilderaccelerationStatus(java.lang.String accelerationStatus)Deprecated.acceleration_status is deprecated.BucketV2State.Builderacl(com.pulumi.core.Output<java.lang.String> acl)Deprecated.acl is deprecated.BucketV2State.Builderacl(java.lang.String acl)Deprecated.acl is deprecated.BucketV2State.Builderarn(com.pulumi.core.Output<java.lang.String> arn)BucketV2State.Builderarn(java.lang.String arn)BucketV2State.Builderbucket(com.pulumi.core.Output<java.lang.String> bucket)BucketV2State.Builderbucket(java.lang.String bucket)BucketV2State.BuilderbucketDomainName(com.pulumi.core.Output<java.lang.String> bucketDomainName)BucketV2State.BuilderbucketDomainName(java.lang.String bucketDomainName)BucketV2State.BuilderbucketNamespace(com.pulumi.core.Output<java.lang.String> bucketNamespace)BucketV2State.BuilderbucketNamespace(java.lang.String bucketNamespace)BucketV2State.BuilderbucketPrefix(com.pulumi.core.Output<java.lang.String> bucketPrefix)BucketV2State.BuilderbucketPrefix(java.lang.String bucketPrefix)BucketV2State.BuilderbucketRegion(com.pulumi.core.Output<java.lang.String> bucketRegion)BucketV2State.BuilderbucketRegion(java.lang.String bucketRegion)BucketV2State.BuilderbucketRegionalDomainName(com.pulumi.core.Output<java.lang.String> bucketRegionalDomainName)BucketV2State.BuilderbucketRegionalDomainName(java.lang.String bucketRegionalDomainName)BucketV2Statebuild()BucketV2State.BuildercorsRules(BucketV2CorsRuleArgs... corsRules)Deprecated.cors_rule is deprecated.BucketV2State.BuildercorsRules(com.pulumi.core.Output<java.util.List<BucketV2CorsRuleArgs>> corsRules)Deprecated.cors_rule is deprecated.BucketV2State.BuildercorsRules(java.util.List<BucketV2CorsRuleArgs> corsRules)Deprecated.cors_rule is deprecated.BucketV2State.BuilderforceDestroy(com.pulumi.core.Output<java.lang.Boolean> forceDestroy)BucketV2State.BuilderforceDestroy(java.lang.Boolean forceDestroy)BucketV2State.Buildergrants(BucketV2GrantArgs... grants)Deprecated.grant is deprecated.BucketV2State.Buildergrants(com.pulumi.core.Output<java.util.List<BucketV2GrantArgs>> grants)Deprecated.grant is deprecated.BucketV2State.Buildergrants(java.util.List<BucketV2GrantArgs> grants)Deprecated.grant is deprecated.BucketV2State.BuilderhostedZoneId(com.pulumi.core.Output<java.lang.String> hostedZoneId)BucketV2State.BuilderhostedZoneId(java.lang.String hostedZoneId)BucketV2State.BuilderlifecycleRules(BucketV2LifecycleRuleArgs... lifecycleRules)Deprecated.lifecycle_rule is deprecated.BucketV2State.BuilderlifecycleRules(com.pulumi.core.Output<java.util.List<BucketV2LifecycleRuleArgs>> lifecycleRules)Deprecated.lifecycle_rule is deprecated.BucketV2State.BuilderlifecycleRules(java.util.List<BucketV2LifecycleRuleArgs> lifecycleRules)Deprecated.lifecycle_rule is deprecated.BucketV2State.Builderloggings(BucketV2LoggingArgs... loggings)Deprecated.logging is deprecated.BucketV2State.Builderloggings(com.pulumi.core.Output<java.util.List<BucketV2LoggingArgs>> loggings)Deprecated.logging is deprecated.BucketV2State.Builderloggings(java.util.List<BucketV2LoggingArgs> loggings)Deprecated.logging is deprecated.BucketV2State.BuilderobjectLockConfiguration(BucketV2ObjectLockConfigurationArgs objectLockConfiguration)Deprecated.object_lock_configuration is deprecated.BucketV2State.BuilderobjectLockConfiguration(com.pulumi.core.Output<BucketV2ObjectLockConfigurationArgs> objectLockConfiguration)Deprecated.object_lock_configuration is deprecated.BucketV2State.BuilderobjectLockEnabled(com.pulumi.core.Output<java.lang.Boolean> objectLockEnabled)BucketV2State.BuilderobjectLockEnabled(java.lang.Boolean objectLockEnabled)BucketV2State.Builderpolicy(com.pulumi.core.Output<java.lang.String> policy)Deprecated.policy is deprecated.BucketV2State.Builderpolicy(java.lang.String policy)Deprecated.policy is deprecated.BucketV2State.Builderregion(com.pulumi.core.Output<java.lang.String> region)BucketV2State.Builderregion(java.lang.String region)BucketV2State.BuilderreplicationConfigurations(BucketV2ReplicationConfigurationArgs... replicationConfigurations)Deprecated.replication_configuration is deprecated.BucketV2State.BuilderreplicationConfigurations(com.pulumi.core.Output<java.util.List<BucketV2ReplicationConfigurationArgs>> replicationConfigurations)Deprecated.replication_configuration is deprecated.BucketV2State.BuilderreplicationConfigurations(java.util.List<BucketV2ReplicationConfigurationArgs> replicationConfigurations)Deprecated.replication_configuration is deprecated.BucketV2State.BuilderrequestPayer(com.pulumi.core.Output<java.lang.String> requestPayer)Deprecated.request_payer is deprecated.BucketV2State.BuilderrequestPayer(java.lang.String requestPayer)Deprecated.request_payer is deprecated.BucketV2State.BuilderserverSideEncryptionConfigurations(BucketV2ServerSideEncryptionConfigurationArgs... serverSideEncryptionConfigurations)Deprecated.server_side_encryption_configuration is deprecated.BucketV2State.BuilderserverSideEncryptionConfigurations(com.pulumi.core.Output<java.util.List<BucketV2ServerSideEncryptionConfigurationArgs>> serverSideEncryptionConfigurations)Deprecated.server_side_encryption_configuration is deprecated.BucketV2State.BuilderserverSideEncryptionConfigurations(java.util.List<BucketV2ServerSideEncryptionConfigurationArgs> serverSideEncryptionConfigurations)Deprecated.server_side_encryption_configuration is deprecated.BucketV2State.Buildertags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)BucketV2State.Buildertags(java.util.Map<java.lang.String,java.lang.String> tags)BucketV2State.BuildertagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)BucketV2State.BuildertagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)BucketV2State.Builderversionings(BucketV2VersioningArgs... versionings)Deprecated.versioning is deprecated.BucketV2State.Builderversionings(com.pulumi.core.Output<java.util.List<BucketV2VersioningArgs>> versionings)Deprecated.versioning is deprecated.BucketV2State.Builderversionings(java.util.List<BucketV2VersioningArgs> versionings)Deprecated.versioning is deprecated.BucketV2State.BuilderwebsiteDomain(com.pulumi.core.Output<java.lang.String> websiteDomain)Deprecated.website_domain is deprecated.BucketV2State.BuilderwebsiteDomain(java.lang.String websiteDomain)Deprecated.website_domain is deprecated.BucketV2State.BuilderwebsiteEndpoint(com.pulumi.core.Output<java.lang.String> websiteEndpoint)Deprecated.website_endpoint is deprecated.BucketV2State.BuilderwebsiteEndpoint(java.lang.String websiteEndpoint)Deprecated.website_endpoint is deprecated.BucketV2State.Builderwebsites(BucketV2WebsiteArgs... websites)Deprecated.website is deprecated.BucketV2State.Builderwebsites(com.pulumi.core.Output<java.util.List<BucketV2WebsiteArgs>> websites)Deprecated.website is deprecated.BucketV2State.Builderwebsites(java.util.List<BucketV2WebsiteArgs> websites)Deprecated.website is deprecated.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketV2State defaults)
-
-
Method Detail
-
accelerationStatus
@Deprecated public BucketV2State.Builder accelerationStatus(@Nullable com.pulumi.core.Output<java.lang.String> accelerationStatus)
Deprecated.acceleration_status is deprecated. Use the aws.s3.BucketAccelerateConfiguration resource instead.- Parameters:
accelerationStatus- Sets the accelerate configuration of an existing bucket. Can be `Enabled` or `Suspended`. Cannot be used in `cn-north-1` or `us-gov-west-1`. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAccelerateConfiguration` instead.- Returns:
- builder
-
accelerationStatus
@Deprecated public BucketV2State.Builder accelerationStatus(java.lang.String accelerationStatus)
Deprecated.acceleration_status is deprecated. Use the aws.s3.BucketAccelerateConfiguration resource instead.- Parameters:
accelerationStatus- Sets the accelerate configuration of an existing bucket. Can be `Enabled` or `Suspended`. Cannot be used in `cn-north-1` or `us-gov-west-1`. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAccelerateConfiguration` instead.- Returns:
- builder
-
acl
@Deprecated public BucketV2State.Builder acl(@Nullable com.pulumi.core.Output<java.lang.String> acl)
Deprecated.acl is deprecated. Use the aws.s3.BucketAcl resource instead.- Parameters:
acl- [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, and `log-delivery-write`. Defaults to `private`. Conflicts with `grant`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.- Returns:
- builder
-
acl
@Deprecated public BucketV2State.Builder acl(java.lang.String acl)
Deprecated.acl is deprecated. Use the aws.s3.BucketAcl resource instead.- Parameters:
acl- [Canned ACL](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl) to apply. Valid values are `private`, `public-read`, `public-read-write`, `aws-exec-read`, `authenticated-read`, and `log-delivery-write`. Defaults to `private`. Conflicts with `grant`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.- Returns:
- builder
-
arn
public BucketV2State.Builder arn(@Nullable com.pulumi.core.Output<java.lang.String> arn)
- Parameters:
arn- ARN of the bucket. Will be of format `arn:aws:s3:::bucketname`.- Returns:
- builder
-
arn
public BucketV2State.Builder arn(java.lang.String arn)
- Parameters:
arn- ARN of the bucket. Will be of format `arn:aws:s3:::bucketname`.- Returns:
- builder
-
bucket
public BucketV2State.Builder bucket(@Nullable com.pulumi.core.Output<java.lang.String> bucket)
- Parameters:
bucket- Name of the bucket. If omitted, the provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). The name must not be in the format `[bucketName]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.- Returns:
- builder
-
bucket
public BucketV2State.Builder bucket(java.lang.String bucket)
- Parameters:
bucket- Name of the bucket. If omitted, the provider will assign a random, unique name. Must be lowercase and less than or equal to 63 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html). The name must not be in the format `[bucketName]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.- Returns:
- builder
-
bucketDomainName
public BucketV2State.Builder bucketDomainName(@Nullable com.pulumi.core.Output<java.lang.String> bucketDomainName)
- Parameters:
bucketDomainName- Bucket domain name. Will be of format `bucketname.s3.amazonaws.com`.- Returns:
- builder
-
bucketDomainName
public BucketV2State.Builder bucketDomainName(java.lang.String bucketDomainName)
- Parameters:
bucketDomainName- Bucket domain name. Will be of format `bucketname.s3.amazonaws.com`.- Returns:
- builder
-
bucketNamespace
public BucketV2State.Builder bucketNamespace(@Nullable com.pulumi.core.Output<java.lang.String> bucketNamespace)
- Parameters:
bucketNamespace- Namespace for the bucket. Determines bucket naming scope. Valid values: `account-regional`, `global`. Defaults to `global` (AWS).- Returns:
- builder
-
bucketNamespace
public BucketV2State.Builder bucketNamespace(java.lang.String bucketNamespace)
- Parameters:
bucketNamespace- Namespace for the bucket. Determines bucket naming scope. Valid values: `account-regional`, `global`. Defaults to `global` (AWS).- Returns:
- builder
-
bucketPrefix
public BucketV2State.Builder bucketPrefix(@Nullable com.pulumi.core.Output<java.lang.String> bucketPrefix)
- Parameters:
bucketPrefix- Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be lowercase and less than or equal to 37 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html).- Returns:
- builder
-
bucketPrefix
public BucketV2State.Builder bucketPrefix(java.lang.String bucketPrefix)
- Parameters:
bucketPrefix- Creates a unique bucket name beginning with the specified prefix. Conflicts with `bucket`. Must be lowercase and less than or equal to 37 characters in length. A full list of bucket naming rules [may be found here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html).- Returns:
- builder
-
bucketRegion
public BucketV2State.Builder bucketRegion(@Nullable com.pulumi.core.Output<java.lang.String> bucketRegion)
- Parameters:
bucketRegion- AWS region this bucket resides in.- Returns:
- builder
-
bucketRegion
public BucketV2State.Builder bucketRegion(java.lang.String bucketRegion)
- Parameters:
bucketRegion- AWS region this bucket resides in.- Returns:
- builder
-
bucketRegionalDomainName
public BucketV2State.Builder bucketRegionalDomainName(@Nullable com.pulumi.core.Output<java.lang.String> bucketRegionalDomainName)
- Parameters:
bucketRegionalDomainName- Bucket region-specific domain name. The bucket domain name including the region name. Please refer to the [S3 endpoints reference](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) for format. Note: AWS CloudFront allows specifying an S3 region-specific endpoint when creating an S3 origin. This will prevent redirect issues from CloudFront to the S3 Origin URL. For more information, see the [Virtual Hosted-Style Requests for Other Regions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#deprecated-global-endpoint) section in the AWS S3 User Guide.- Returns:
- builder
-
bucketRegionalDomainName
public BucketV2State.Builder bucketRegionalDomainName(java.lang.String bucketRegionalDomainName)
- Parameters:
bucketRegionalDomainName- Bucket region-specific domain name. The bucket domain name including the region name. Please refer to the [S3 endpoints reference](https://docs.aws.amazon.com/general/latest/gr/s3.html#s3_region) for format. Note: AWS CloudFront allows specifying an S3 region-specific endpoint when creating an S3 origin. This will prevent redirect issues from CloudFront to the S3 Origin URL. For more information, see the [Virtual Hosted-Style Requests for Other Regions](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#deprecated-global-endpoint) section in the AWS S3 User Guide.- Returns:
- builder
-
corsRules
@Deprecated public BucketV2State.Builder corsRules(@Nullable com.pulumi.core.Output<java.util.List<BucketV2CorsRuleArgs>> corsRules)
Deprecated.cors_rule is deprecated. Use the aws.s3.BucketCorsConfiguration resource instead.- Parameters:
corsRules- Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See `corsRule` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfiguration` instead.- Returns:
- builder
-
corsRules
@Deprecated public BucketV2State.Builder corsRules(java.util.List<BucketV2CorsRuleArgs> corsRules)
Deprecated.cors_rule is deprecated. Use the aws.s3.BucketCorsConfiguration resource instead.- Parameters:
corsRules- Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See `corsRule` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfiguration` instead.- Returns:
- builder
-
corsRules
@Deprecated public BucketV2State.Builder corsRules(BucketV2CorsRuleArgs... corsRules)
Deprecated.cors_rule is deprecated. Use the aws.s3.BucketCorsConfiguration resource instead.- Parameters:
corsRules- Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See `corsRule` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfiguration` instead.- Returns:
- builder
-
forceDestroy
public BucketV2State.Builder forceDestroy(@Nullable com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
- Parameters:
forceDestroy- Boolean that indicates all objects (including any [locked objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html)) should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.- Returns:
- builder
-
forceDestroy
public BucketV2State.Builder forceDestroy(java.lang.Boolean forceDestroy)
- Parameters:
forceDestroy- Boolean that indicates all objects (including any [locked objects](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html)) should be deleted from the bucket *when the bucket is destroyed* so that the bucket can be destroyed without error. These objects are *not* recoverable. This only deletes objects when the bucket is destroyed, *not* when setting this parameter to `true`. Once this parameter is set to `true`, there must be a successful `pulumi up` run before a destroy is required to update this value in the resource state. Without a successful `pulumi up` after this parameter is set, this flag will have no effect. If setting this field in the same operation that would require replacing the bucket or destroying the bucket, this flag will not work. Additionally when importing a bucket, a successful `pulumi up` is required to set this value in state before it will take effect on a destroy operation.- Returns:
- builder
-
grants
@Deprecated public BucketV2State.Builder grants(@Nullable com.pulumi.core.Output<java.util.List<BucketV2GrantArgs>> grants)
Deprecated.grant is deprecated. Use the aws.s3.BucketAcl resource instead.- Parameters:
grants- [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See `grant` Block below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.- Returns:
- builder
-
grants
@Deprecated public BucketV2State.Builder grants(java.util.List<BucketV2GrantArgs> grants)
Deprecated.grant is deprecated. Use the aws.s3.BucketAcl resource instead.- Parameters:
grants- [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See `grant` Block below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.- Returns:
- builder
-
grants
@Deprecated public BucketV2State.Builder grants(BucketV2GrantArgs... grants)
Deprecated.grant is deprecated. Use the aws.s3.BucketAcl resource instead.- Parameters:
grants- [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See `grant` Block below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAcl` instead.- Returns:
- builder
-
hostedZoneId
public BucketV2State.Builder hostedZoneId(@Nullable com.pulumi.core.Output<java.lang.String> hostedZoneId)
- Parameters:
hostedZoneId- [Route 53 Hosted Zone ID](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints) for this bucket's region.- Returns:
- builder
-
hostedZoneId
public BucketV2State.Builder hostedZoneId(java.lang.String hostedZoneId)
- Parameters:
hostedZoneId- [Route 53 Hosted Zone ID](https://docs.aws.amazon.com/general/latest/gr/rande.html#s3_website_region_endpoints) for this bucket's region.- Returns:
- builder
-
lifecycleRules
@Deprecated public BucketV2State.Builder lifecycleRules(@Nullable com.pulumi.core.Output<java.util.List<BucketV2LifecycleRuleArgs>> lifecycleRules)
Deprecated.lifecycle_rule is deprecated. Use the aws.s3.BucketLifecycleConfiguration resource instead.- Parameters:
lifecycleRules- Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See `lifecycleRule` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLifecycleConfiguration` instead.- Returns:
- builder
-
lifecycleRules
@Deprecated public BucketV2State.Builder lifecycleRules(java.util.List<BucketV2LifecycleRuleArgs> lifecycleRules)
Deprecated.lifecycle_rule is deprecated. Use the aws.s3.BucketLifecycleConfiguration resource instead.- Parameters:
lifecycleRules- Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See `lifecycleRule` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLifecycleConfiguration` instead.- Returns:
- builder
-
lifecycleRules
@Deprecated public BucketV2State.Builder lifecycleRules(BucketV2LifecycleRuleArgs... lifecycleRules)
Deprecated.lifecycle_rule is deprecated. Use the aws.s3.BucketLifecycleConfiguration resource instead.- Parameters:
lifecycleRules- Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See `lifecycleRule` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLifecycleConfiguration` instead.- Returns:
- builder
-
loggings
@Deprecated public BucketV2State.Builder loggings(@Nullable com.pulumi.core.Output<java.util.List<BucketV2LoggingArgs>> loggings)
Deprecated.logging is deprecated. Use the aws.s3.BucketLogging resource instead.- Parameters:
loggings- Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See `logging` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLogging` instead.- Returns:
- builder
-
loggings
@Deprecated public BucketV2State.Builder loggings(java.util.List<BucketV2LoggingArgs> loggings)
Deprecated.logging is deprecated. Use the aws.s3.BucketLogging resource instead.- Parameters:
loggings- Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See `logging` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLogging` instead.- Returns:
- builder
-
loggings
@Deprecated public BucketV2State.Builder loggings(BucketV2LoggingArgs... loggings)
Deprecated.logging is deprecated. Use the aws.s3.BucketLogging resource instead.- Parameters:
loggings- Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See `logging` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLogging` instead.- Returns:
- builder
-
objectLockConfiguration
@Deprecated public BucketV2State.Builder objectLockConfiguration(@Nullable com.pulumi.core.Output<BucketV2ObjectLockConfigurationArgs> objectLockConfiguration)
Deprecated.object_lock_configuration is deprecated. Use the top-level parameter objectLockEnabled and the aws.s3.BucketObjectLockConfiguration resource instead.- Parameters:
objectLockConfiguration- Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See `objectLockConfiguration` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the `objectLockEnabled` parameter and the resource `aws.s3.BucketObjectLockConfiguration` instead.- Returns:
- builder
-
objectLockConfiguration
@Deprecated public BucketV2State.Builder objectLockConfiguration(BucketV2ObjectLockConfigurationArgs objectLockConfiguration)
Deprecated.object_lock_configuration is deprecated. Use the top-level parameter objectLockEnabled and the aws.s3.BucketObjectLockConfiguration resource instead.- Parameters:
objectLockConfiguration- Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See `objectLockConfiguration` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the `objectLockEnabled` parameter and the resource `aws.s3.BucketObjectLockConfiguration` instead.- Returns:
- builder
-
objectLockEnabled
public BucketV2State.Builder objectLockEnabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> objectLockEnabled)
- Parameters:
objectLockEnabled- Whether this bucket has an Object Lock configuration enabled. Valid values are `true` or `false`. This argument is not supported in all regions or partitions.- Returns:
- builder
-
objectLockEnabled
public BucketV2State.Builder objectLockEnabled(java.lang.Boolean objectLockEnabled)
- Parameters:
objectLockEnabled- Whether this bucket has an Object Lock configuration enabled. Valid values are `true` or `false`. This argument is not supported in all regions or partitions.- Returns:
- builder
-
policy
@Deprecated public BucketV2State.Builder policy(@Nullable com.pulumi.core.Output<java.lang.String> policy)
Deprecated.policy is deprecated. Use the aws.s3.BucketPolicy resource instead.- Parameters:
policy- Valid [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html) JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketPolicy` instead.- Returns:
- builder
-
policy
@Deprecated public BucketV2State.Builder policy(java.lang.String policy)
Deprecated.policy is deprecated. Use the aws.s3.BucketPolicy resource instead.- Parameters:
policy- Valid [bucket policy](https://docs.aws.amazon.com/AmazonS3/latest/dev/example-bucket-policies.html) JSON document. Note that if the policy document is not specific enough (but still valid), this provider may view the policy as constantly changing. In this case, please make sure you use the verbose/specific version of the policy. For more information about building AWS IAM policy documents with this provider, see the AWS IAM Policy Document Guide. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketPolicy` instead.- Returns:
- builder
-
region
public BucketV2State.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 BucketV2State.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
-
replicationConfigurations
@Deprecated public BucketV2State.Builder replicationConfigurations(@Nullable com.pulumi.core.Output<java.util.List<BucketV2ReplicationConfigurationArgs>> replicationConfigurations)
Deprecated.replication_configuration is deprecated. Use the aws.s3.BucketReplicationConfig resource instead.- Parameters:
replicationConfigurations- Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See `replicationConfiguration` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketReplicationConfig` instead.- Returns:
- builder
-
replicationConfigurations
@Deprecated public BucketV2State.Builder replicationConfigurations(java.util.List<BucketV2ReplicationConfigurationArgs> replicationConfigurations)
Deprecated.replication_configuration is deprecated. Use the aws.s3.BucketReplicationConfig resource instead.- Parameters:
replicationConfigurations- Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See `replicationConfiguration` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketReplicationConfig` instead.- Returns:
- builder
-
replicationConfigurations
@Deprecated public BucketV2State.Builder replicationConfigurations(BucketV2ReplicationConfigurationArgs... replicationConfigurations)
Deprecated.replication_configuration is deprecated. Use the aws.s3.BucketReplicationConfig resource instead.- Parameters:
replicationConfigurations- Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See `replicationConfiguration` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketReplicationConfig` instead.- Returns:
- builder
-
requestPayer
@Deprecated public BucketV2State.Builder requestPayer(@Nullable com.pulumi.core.Output<java.lang.String> requestPayer)
Deprecated.request_payer is deprecated. Use the aws.s3.BucketRequestPaymentConfiguration resource instead.- Parameters:
requestPayer- Who should bear the cost of Amazon S3 data transfer. Can be either `BucketOwner` or `Requester`. By default, the owner of the S3 bucket would incur the costs of any data transfer. See [Requester Pays Buckets](http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) developer guide for more information. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketRequestPaymentConfiguration` instead.- Returns:
- builder
-
requestPayer
@Deprecated public BucketV2State.Builder requestPayer(java.lang.String requestPayer)
Deprecated.request_payer is deprecated. Use the aws.s3.BucketRequestPaymentConfiguration resource instead.- Parameters:
requestPayer- Who should bear the cost of Amazon S3 data transfer. Can be either `BucketOwner` or `Requester`. By default, the owner of the S3 bucket would incur the costs of any data transfer. See [Requester Pays Buckets](http://docs.aws.amazon.com/AmazonS3/latest/dev/RequesterPaysBuckets.html) developer guide for more information. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketRequestPaymentConfiguration` instead.- Returns:
- builder
-
serverSideEncryptionConfigurations
@Deprecated public BucketV2State.Builder serverSideEncryptionConfigurations(@Nullable com.pulumi.core.Output<java.util.List<BucketV2ServerSideEncryptionConfigurationArgs>> serverSideEncryptionConfigurations)
Deprecated.server_side_encryption_configuration is deprecated. Use the aws.s3.BucketServerSideEncryptionConfiguration resource instead.- Parameters:
serverSideEncryptionConfigurations- Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See `serverSideEncryptionConfiguration` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketServerSideEncryptionConfiguration` instead.- Returns:
- builder
-
serverSideEncryptionConfigurations
@Deprecated public BucketV2State.Builder serverSideEncryptionConfigurations(java.util.List<BucketV2ServerSideEncryptionConfigurationArgs> serverSideEncryptionConfigurations)
Deprecated.server_side_encryption_configuration is deprecated. Use the aws.s3.BucketServerSideEncryptionConfiguration resource instead.- Parameters:
serverSideEncryptionConfigurations- Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See `serverSideEncryptionConfiguration` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketServerSideEncryptionConfiguration` instead.- Returns:
- builder
-
serverSideEncryptionConfigurations
@Deprecated public BucketV2State.Builder serverSideEncryptionConfigurations(BucketV2ServerSideEncryptionConfigurationArgs... serverSideEncryptionConfigurations)
Deprecated.server_side_encryption_configuration is deprecated. Use the aws.s3.BucketServerSideEncryptionConfiguration resource instead.- Parameters:
serverSideEncryptionConfigurations- Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See `serverSideEncryptionConfiguration` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketServerSideEncryptionConfiguration` instead.- Returns:
- builder
-
tags
public BucketV2State.Builder tags(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
- Parameters:
tags- Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tags
public BucketV2State.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
- Parameters:
tags- Map of tags to assign to the bucket. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Returns:
- builder
-
tagsAll
public BucketV2State.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
tagsAll
public BucketV2State.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
- Parameters:
tagsAll- Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.- Returns:
- builder
-
versionings
@Deprecated public BucketV2State.Builder versionings(@Nullable com.pulumi.core.Output<java.util.List<BucketV2VersioningArgs>> versionings)
Deprecated.versioning is deprecated. Use the aws.s3.BucketVersioning resource instead.- Parameters:
versionings- Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See `versioning` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioning` instead.- Returns:
- builder
-
versionings
@Deprecated public BucketV2State.Builder versionings(java.util.List<BucketV2VersioningArgs> versionings)
Deprecated.versioning is deprecated. Use the aws.s3.BucketVersioning resource instead.- Parameters:
versionings- Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See `versioning` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioning` instead.- Returns:
- builder
-
versionings
@Deprecated public BucketV2State.Builder versionings(BucketV2VersioningArgs... versionings)
Deprecated.versioning is deprecated. Use the aws.s3.BucketVersioning resource instead.- Parameters:
versionings- Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See `versioning` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioning` instead.- Returns:
- builder
-
websiteDomain
@Deprecated public BucketV2State.Builder websiteDomain(@Nullable com.pulumi.core.Output<java.lang.String> websiteDomain)
Deprecated.website_domain is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.- Parameters:
websiteDomain- (**Deprecated**) Domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.- Returns:
- builder
-
websiteDomain
@Deprecated public BucketV2State.Builder websiteDomain(java.lang.String websiteDomain)
Deprecated.website_domain is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.- Parameters:
websiteDomain- (**Deprecated**) Domain of the website endpoint, if the bucket is configured with a website. If not, this will be an empty string. This is used to create Route 53 alias records. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.- Returns:
- builder
-
websiteEndpoint
@Deprecated public BucketV2State.Builder websiteEndpoint(@Nullable com.pulumi.core.Output<java.lang.String> websiteEndpoint)
Deprecated.website_endpoint is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.- Parameters:
websiteEndpoint- (**Deprecated**) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.- Returns:
- builder
-
websiteEndpoint
@Deprecated public BucketV2State.Builder websiteEndpoint(java.lang.String websiteEndpoint)
Deprecated.website_endpoint is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.- Parameters:
websiteEndpoint- (**Deprecated**) Website endpoint, if the bucket is configured with a website. If not, this will be an empty string. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.- Returns:
- builder
-
websites
@Deprecated public BucketV2State.Builder websites(@Nullable com.pulumi.core.Output<java.util.List<BucketV2WebsiteArgs>> websites)
Deprecated.website is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.- Parameters:
websites- Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See `website` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.- Returns:
- builder
-
websites
@Deprecated public BucketV2State.Builder websites(java.util.List<BucketV2WebsiteArgs> websites)
Deprecated.website is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.- Parameters:
websites- Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See `website` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.- Returns:
- builder
-
websites
@Deprecated public BucketV2State.Builder websites(BucketV2WebsiteArgs... websites)
Deprecated.website is deprecated. Use the aws.s3.BucketWebsiteConfiguration resource instead.- Parameters:
websites- Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See `website` Block below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketWebsiteConfiguration` instead.- Returns:
- builder
-
build
public BucketV2State build()
-
-