Class BucketLifecycleConfigurationArgs.Builder

    • Method Detail

      • bucket

        public BucketLifecycleConfigurationArgs.Builder bucket​(com.pulumi.core.Output<java.lang.String> bucket)
        Parameters:
        bucket - Name of the source S3 bucket you want Amazon S3 to monitor.
        Returns:
        builder
      • expectedBucketOwner

        @Deprecated
        public BucketLifecycleConfigurationArgs.Builder expectedBucketOwner​(@Nullable
                                                                            com.pulumi.core.Output<java.lang.String> expectedBucketOwner)
        Deprecated.
        This attribute will be removed in a future verion of the provider.
        Parameters:
        expectedBucketOwner - Account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
        Returns:
        builder
      • expectedBucketOwner

        @Deprecated
        public BucketLifecycleConfigurationArgs.Builder expectedBucketOwner​(java.lang.String expectedBucketOwner)
        Deprecated.
        This attribute will be removed in a future verion of the provider.
        Parameters:
        expectedBucketOwner - Account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied) error.
        Returns:
        builder
      • region

        public BucketLifecycleConfigurationArgs.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 BucketLifecycleConfigurationArgs.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
      • transitionDefaultMinimumObjectSize

        public BucketLifecycleConfigurationArgs.Builder transitionDefaultMinimumObjectSize​(@Nullable
                                                                                           com.pulumi.core.Output<java.lang.String> transitionDefaultMinimumObjectSize)
        Parameters:
        transitionDefaultMinimumObjectSize - Default minimum object size behavior applied to the lifecycle configuration. Valid values: `all_storage_classes_128K` (default), `variesByStorageClass`. To customize the minimum object size for any transition you can add a `filter` that specifies a custom `objectSizeGreaterThan` or `objectSizeLessThan` value. Custom filters always take precedence over the default transition behavior.
        Returns:
        builder
      • transitionDefaultMinimumObjectSize

        public BucketLifecycleConfigurationArgs.Builder transitionDefaultMinimumObjectSize​(java.lang.String transitionDefaultMinimumObjectSize)
        Parameters:
        transitionDefaultMinimumObjectSize - Default minimum object size behavior applied to the lifecycle configuration. Valid values: `all_storage_classes_128K` (default), `variesByStorageClass`. To customize the minimum object size for any transition you can add a `filter` that specifies a custom `objectSizeGreaterThan` or `objectSizeLessThan` value. Custom filters always take precedence over the default transition behavior.
        Returns:
        builder