Class BucketLifecycleConfigurationV2RuleTransitionArgs.Builder

    • Method Detail

      • date

        public BucketLifecycleConfigurationV2RuleTransitionArgs.Builder date​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.String> date)
        Parameters:
        date - Date objects are transitioned to the specified storage class. The date value must be in [RFC3339 full-date format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) e.g. `2023-08-22`.
        Returns:
        builder
      • date

        public BucketLifecycleConfigurationV2RuleTransitionArgs.Builder date​(java.lang.String date)
        Parameters:
        date - Date objects are transitioned to the specified storage class. The date value must be in [RFC3339 full-date format](https://datatracker.ietf.org/doc/html/rfc3339#section-5.6) e.g. `2023-08-22`.
        Returns:
        builder
      • days

        public BucketLifecycleConfigurationV2RuleTransitionArgs.Builder days​(@Nullable
                                                                             com.pulumi.core.Output<java.lang.Integer> days)
        Parameters:
        days - Number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer. If both `days` and `date` are not specified, defaults to `0`. Valid values depend on `storage_class`, see [Transition objects using Amazon S3 Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html) for more details.
        Returns:
        builder
      • days

        public BucketLifecycleConfigurationV2RuleTransitionArgs.Builder days​(java.lang.Integer days)
        Parameters:
        days - Number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer. If both `days` and `date` are not specified, defaults to `0`. Valid values depend on `storage_class`, see [Transition objects using Amazon S3 Lifecycle](https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html) for more details.
        Returns:
        builder
      • storageClass

        public BucketLifecycleConfigurationV2RuleTransitionArgs.Builder storageClass​(com.pulumi.core.Output<java.lang.String> storageClass)
        Parameters:
        storageClass - Class of storage used to store the object. Valid Values: `GLACIER`, `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `DEEP_ARCHIVE`, `GLACIER_IR`.
        Returns:
        builder
      • storageClass

        public BucketLifecycleConfigurationV2RuleTransitionArgs.Builder storageClass​(java.lang.String storageClass)
        Parameters:
        storageClass - Class of storage used to store the object. Valid Values: `GLACIER`, `STANDARD_IA`, `ONEZONE_IA`, `INTELLIGENT_TIERING`, `DEEP_ARCHIVE`, `GLACIER_IR`.
        Returns:
        builder