Package com.pulumi.aws.s3.inputs
Class BucketState.Builder
- java.lang.Object
-
- com.pulumi.aws.s3.inputs.BucketState.Builder
-
- Enclosing class:
- BucketState
public static final class BucketState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(BucketState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BucketState.Builder
accelerationStatus(com.pulumi.core.Output<java.lang.String> accelerationStatus)
BucketState.Builder
accelerationStatus(java.lang.String accelerationStatus)
BucketState.Builder
acl(CannedAcl acl)
BucketState.Builder
acl(com.pulumi.core.Either<java.lang.String,CannedAcl> acl)
BucketState.Builder
acl(com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,CannedAcl>> acl)
BucketState.Builder
acl(java.lang.String acl)
BucketState.Builder
arn(com.pulumi.core.Output<java.lang.String> arn)
BucketState.Builder
arn(java.lang.String arn)
BucketState.Builder
bucket(com.pulumi.core.Output<java.lang.String> bucket)
BucketState.Builder
bucket(java.lang.String bucket)
BucketState.Builder
bucketDomainName(com.pulumi.core.Output<java.lang.String> bucketDomainName)
BucketState.Builder
bucketDomainName(java.lang.String bucketDomainName)
BucketState.Builder
bucketPrefix(com.pulumi.core.Output<java.lang.String> bucketPrefix)
BucketState.Builder
bucketPrefix(java.lang.String bucketPrefix)
BucketState.Builder
bucketRegionalDomainName(com.pulumi.core.Output<java.lang.String> bucketRegionalDomainName)
BucketState.Builder
bucketRegionalDomainName(java.lang.String bucketRegionalDomainName)
BucketState
build()
BucketState.Builder
corsRules(BucketCorsRuleArgs... corsRules)
BucketState.Builder
corsRules(com.pulumi.core.Output<java.util.List<BucketCorsRuleArgs>> corsRules)
BucketState.Builder
corsRules(java.util.List<BucketCorsRuleArgs> corsRules)
BucketState.Builder
forceDestroy(com.pulumi.core.Output<java.lang.Boolean> forceDestroy)
BucketState.Builder
forceDestroy(java.lang.Boolean forceDestroy)
BucketState.Builder
grants(BucketGrantArgs... grants)
BucketState.Builder
grants(com.pulumi.core.Output<java.util.List<BucketGrantArgs>> grants)
BucketState.Builder
grants(java.util.List<BucketGrantArgs> grants)
BucketState.Builder
hostedZoneId(com.pulumi.core.Output<java.lang.String> hostedZoneId)
BucketState.Builder
hostedZoneId(java.lang.String hostedZoneId)
BucketState.Builder
lifecycleRules(BucketLifecycleRuleArgs... lifecycleRules)
BucketState.Builder
lifecycleRules(com.pulumi.core.Output<java.util.List<BucketLifecycleRuleArgs>> lifecycleRules)
BucketState.Builder
lifecycleRules(java.util.List<BucketLifecycleRuleArgs> lifecycleRules)
BucketState.Builder
loggings(BucketLoggingArgs... loggings)
BucketState.Builder
loggings(com.pulumi.core.Output<java.util.List<BucketLoggingArgs>> loggings)
BucketState.Builder
loggings(java.util.List<BucketLoggingArgs> loggings)
BucketState.Builder
objectLockConfiguration(BucketObjectLockConfigurationArgs objectLockConfiguration)
BucketState.Builder
objectLockConfiguration(com.pulumi.core.Output<BucketObjectLockConfigurationArgs> objectLockConfiguration)
BucketState.Builder
policy(com.pulumi.core.Output<java.lang.String> policy)
BucketState.Builder
policy(java.lang.String policy)
BucketState.Builder
region(com.pulumi.core.Output<java.lang.String> region)
BucketState.Builder
region(java.lang.String region)
BucketState.Builder
replicationConfiguration(BucketReplicationConfigurationArgs replicationConfiguration)
BucketState.Builder
replicationConfiguration(com.pulumi.core.Output<BucketReplicationConfigurationArgs> replicationConfiguration)
BucketState.Builder
requestPayer(com.pulumi.core.Output<java.lang.String> requestPayer)
BucketState.Builder
requestPayer(java.lang.String requestPayer)
BucketState.Builder
serverSideEncryptionConfiguration(BucketServerSideEncryptionConfigurationArgs serverSideEncryptionConfiguration)
BucketState.Builder
serverSideEncryptionConfiguration(com.pulumi.core.Output<BucketServerSideEncryptionConfigurationArgs> serverSideEncryptionConfiguration)
BucketState.Builder
tags(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tags)
BucketState.Builder
tags(java.util.Map<java.lang.String,java.lang.String> tags)
BucketState.Builder
tagsAll(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.BucketState.Builder
tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.BucketState.Builder
versioning(BucketVersioningArgs versioning)
BucketState.Builder
versioning(com.pulumi.core.Output<BucketVersioningArgs> versioning)
BucketState.Builder
website(BucketWebsiteArgs website)
BucketState.Builder
website(com.pulumi.core.Output<BucketWebsiteArgs> website)
BucketState.Builder
websiteDomain(com.pulumi.core.Output<java.lang.String> websiteDomain)
BucketState.Builder
websiteDomain(java.lang.String websiteDomain)
BucketState.Builder
websiteEndpoint(com.pulumi.core.Output<java.lang.String> websiteEndpoint)
BucketState.Builder
websiteEndpoint(java.lang.String websiteEndpoint)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(BucketState defaults)
-
-
Method Detail
-
accelerationStatus
public BucketState.Builder accelerationStatus(@Nullable com.pulumi.core.Output<java.lang.String> accelerationStatus)
- 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.BucketAccelerateConfigurationV2` instead.- Returns:
- builder
-
accelerationStatus
public BucketState.Builder accelerationStatus(java.lang.String accelerationStatus)
- 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.BucketAccelerateConfigurationV2` instead.- Returns:
- builder
-
acl
public BucketState.Builder acl(@Nullable com.pulumi.core.Output<com.pulumi.core.Either<java.lang.String,CannedAcl>> acl)
- Parameters:
acl
- The [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.BucketAclV2` instead.- Returns:
- builder
-
acl
public BucketState.Builder acl(com.pulumi.core.Either<java.lang.String,CannedAcl> acl)
- Parameters:
acl
- The [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.BucketAclV2` instead.- Returns:
- builder
-
acl
public BucketState.Builder acl(java.lang.String acl)
- Parameters:
acl
- The [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.BucketAclV2` instead.- Returns:
- builder
-
acl
public BucketState.Builder acl(CannedAcl acl)
- Parameters:
acl
- The [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.BucketAclV2` instead.- Returns:
- builder
-
arn
public BucketState.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 BucketState.Builder arn(java.lang.String arn)
- Parameters:
arn
- ARN of the bucket. Will be of format `arn:aws:s3:::bucketname`.- Returns:
- builder
-
bucket
public BucketState.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 `[bucket_name]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.- Returns:
- builder
-
bucket
public BucketState.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 `[bucket_name]--[azid]--x-s3`. Use the `aws.s3.DirectoryBucket` resource to manage S3 Express buckets.- Returns:
- builder
-
bucketDomainName
public BucketState.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 BucketState.Builder bucketDomainName(java.lang.String bucketDomainName)
- Parameters:
bucketDomainName
- Bucket domain name. Will be of format `bucketname.s3.amazonaws.com`.- Returns:
- builder
-
bucketPrefix
public BucketState.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 BucketState.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
-
bucketRegionalDomainName
public BucketState.Builder bucketRegionalDomainName(@Nullable com.pulumi.core.Output<java.lang.String> bucketRegionalDomainName)
- Parameters:
bucketRegionalDomainName
- The 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 BucketState.Builder bucketRegionalDomainName(java.lang.String bucketRegionalDomainName)
- Parameters:
bucketRegionalDomainName
- The 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
public BucketState.Builder corsRules(@Nullable com.pulumi.core.Output<java.util.List<BucketCorsRuleArgs>> corsRules)
- Parameters:
corsRules
- Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfigurationV2` instead.- Returns:
- builder
-
corsRules
public BucketState.Builder corsRules(java.util.List<BucketCorsRuleArgs> corsRules)
- Parameters:
corsRules
- Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfigurationV2` instead.- Returns:
- builder
-
corsRules
public BucketState.Builder corsRules(BucketCorsRuleArgs... corsRules)
- Parameters:
corsRules
- Rule of [Cross-Origin Resource Sharing](https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html). See CORS rule below for details. This provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketCorsConfigurationV2` instead.- Returns:
- builder
-
forceDestroy
public BucketState.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 BucketState.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
public BucketState.Builder grants(@Nullable com.pulumi.core.Output<java.util.List<BucketGrantArgs>> grants)
- Parameters:
grants
- An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See Grant below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAclV2` instead.- Returns:
- builder
-
grants
public BucketState.Builder grants(java.util.List<BucketGrantArgs> grants)
- Parameters:
grants
- An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See Grant below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAclV2` instead.- Returns:
- builder
-
grants
public BucketState.Builder grants(BucketGrantArgs... grants)
- Parameters:
grants
- An [ACL policy grant](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#sample-acl). See Grant below for details. Conflicts with `acl`. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketAclV2` instead.- Returns:
- builder
-
hostedZoneId
public BucketState.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 BucketState.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
public BucketState.Builder lifecycleRules(@Nullable com.pulumi.core.Output<java.util.List<BucketLifecycleRuleArgs>> lifecycleRules)
- Parameters:
lifecycleRules
- Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLifecycleConfigurationV2` instead.- Returns:
- builder
-
lifecycleRules
public BucketState.Builder lifecycleRules(java.util.List<BucketLifecycleRuleArgs> lifecycleRules)
- Parameters:
lifecycleRules
- Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLifecycleConfigurationV2` instead.- Returns:
- builder
-
lifecycleRules
public BucketState.Builder lifecycleRules(BucketLifecycleRuleArgs... lifecycleRules)
- Parameters:
lifecycleRules
- Configuration of [object lifecycle management](http://docs.aws.amazon.com/AmazonS3/latest/dev/object-lifecycle-mgmt.html). See Lifecycle Rule below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLifecycleConfigurationV2` instead.- Returns:
- builder
-
loggings
public BucketState.Builder loggings(@Nullable com.pulumi.core.Output<java.util.List<BucketLoggingArgs>> loggings)
- Parameters:
loggings
- Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLoggingV2` instead.- Returns:
- builder
-
loggings
public BucketState.Builder loggings(java.util.List<BucketLoggingArgs> loggings)
- Parameters:
loggings
- Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLoggingV2` instead.- Returns:
- builder
-
loggings
public BucketState.Builder loggings(BucketLoggingArgs... loggings)
- Parameters:
loggings
- Configuration of [S3 bucket logging](https://docs.aws.amazon.com/AmazonS3/latest/UG/ManagingBucketLogging.html) parameters. See Logging below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketLoggingV2` instead.- Returns:
- builder
-
objectLockConfiguration
public BucketState.Builder objectLockConfiguration(@Nullable com.pulumi.core.Output<BucketObjectLockConfigurationArgs> objectLockConfiguration)
- Parameters:
objectLockConfiguration
- Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See Object Lock Configuration below for details. The provider wil only perform drift detection if a configuration value is provided. Use the `object_lock_enabled` parameter and the resource `aws.s3.BucketObjectLockConfigurationV2` instead.- Returns:
- builder
-
objectLockConfiguration
public BucketState.Builder objectLockConfiguration(BucketObjectLockConfigurationArgs objectLockConfiguration)
- Parameters:
objectLockConfiguration
- Configuration of [S3 object locking](https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html). See Object Lock Configuration below for details. The provider wil only perform drift detection if a configuration value is provided. Use the `object_lock_enabled` parameter and the resource `aws.s3.BucketObjectLockConfigurationV2` instead.- Returns:
- builder
-
policy
public BucketState.Builder policy(@Nullable com.pulumi.core.Output<java.lang.String> policy)
- 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
public BucketState.Builder policy(java.lang.String policy)
- 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 BucketState.Builder region(@Nullable com.pulumi.core.Output<java.lang.String> region)
- Parameters:
region
- AWS region this bucket resides in.- Returns:
- builder
-
region
public BucketState.Builder region(java.lang.String region)
- Parameters:
region
- AWS region this bucket resides in.- Returns:
- builder
-
replicationConfiguration
public BucketState.Builder replicationConfiguration(@Nullable com.pulumi.core.Output<BucketReplicationConfigurationArgs> replicationConfiguration)
- Parameters:
replicationConfiguration
- Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See Replication Configuration 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
-
replicationConfiguration
public BucketState.Builder replicationConfiguration(BucketReplicationConfigurationArgs replicationConfiguration)
- Parameters:
replicationConfiguration
- Configuration of [replication configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/crr.html). See Replication Configuration 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
public BucketState.Builder requestPayer(@Nullable com.pulumi.core.Output<java.lang.String> requestPayer)
- Parameters:
requestPayer
- Specifies 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.BucketRequestPaymentConfigurationV2` instead.- Returns:
- builder
-
requestPayer
public BucketState.Builder requestPayer(java.lang.String requestPayer)
- Parameters:
requestPayer
- Specifies 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.BucketRequestPaymentConfigurationV2` instead.- Returns:
- builder
-
serverSideEncryptionConfiguration
public BucketState.Builder serverSideEncryptionConfiguration(@Nullable com.pulumi.core.Output<BucketServerSideEncryptionConfigurationArgs> serverSideEncryptionConfiguration)
- Parameters:
serverSideEncryptionConfiguration
- Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See Server Side Encryption Configuration below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketServerSideEncryptionConfigurationV2` instead.- Returns:
- builder
-
serverSideEncryptionConfiguration
public BucketState.Builder serverSideEncryptionConfiguration(BucketServerSideEncryptionConfigurationArgs serverSideEncryptionConfiguration)
- Parameters:
serverSideEncryptionConfiguration
- Configuration of [server-side encryption configuration](http://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html). See Server Side Encryption Configuration below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketServerSideEncryptionConfigurationV2` instead.- Returns:
- builder
-
tags
public BucketState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. The following arguments are deprecated, and will be removed in a future major version:- Returns:
- builder
-
tags
public BucketState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. The following arguments are deprecated, and will be removed in a future major version:- Returns:
- builder
-
tagsAll
@Deprecated public BucketState.Builder tagsAll(@Nullable com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
tagsAll
@Deprecated public BucketState.Builder tagsAll(java.util.Map<java.lang.String,java.lang.String> tagsAll)
Deprecated.Please use `tags` instead.- Parameters:
tagsAll
- Map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.- Returns:
- builder
-
versioning
public BucketState.Builder versioning(@Nullable com.pulumi.core.Output<BucketVersioningArgs> versioning)
- Parameters:
versioning
- Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioningV2` instead.- Returns:
- builder
-
versioning
public BucketState.Builder versioning(BucketVersioningArgs versioning)
- Parameters:
versioning
- Configuration of the [S3 bucket versioning state](https://docs.aws.amazon.com/AmazonS3/latest/dev/Versioning.html). See Versioning below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketVersioningV2` instead.- Returns:
- builder
-
website
public BucketState.Builder website(@Nullable com.pulumi.core.Output<BucketWebsiteArgs> website)
- Parameters:
website
- Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See Website below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketWebsiteConfigurationV2` instead.- Returns:
- builder
-
website
public BucketState.Builder website(BucketWebsiteArgs website)
- Parameters:
website
- Configuration of the [S3 bucket website](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html). See Website below for details. The provider will only perform drift detection if a configuration value is provided. Use the resource `aws.s3.BucketWebsiteConfigurationV2` instead.- Returns:
- builder
-
websiteDomain
public BucketState.Builder websiteDomain(@Nullable com.pulumi.core.Output<java.lang.String> websiteDomain)
- 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.BucketWebsiteConfigurationV2` instead.- Returns:
- builder
-
websiteDomain
public BucketState.Builder websiteDomain(java.lang.String websiteDomain)
- 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.BucketWebsiteConfigurationV2` instead.- Returns:
- builder
-
websiteEndpoint
public BucketState.Builder websiteEndpoint(@Nullable com.pulumi.core.Output<java.lang.String> websiteEndpoint)
- 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.BucketWebsiteConfigurationV2` instead.- Returns:
- builder
-
websiteEndpoint
public BucketState.Builder websiteEndpoint(java.lang.String websiteEndpoint)
- 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.BucketWebsiteConfigurationV2` instead.- Returns:
- builder
-
build
public BucketState build()
-
-