All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.storage.inputs.ManagementPolicyRuleActionsBaseBlobArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azure.storage.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.Integer;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ManagementPolicyRuleActionsBaseBlobArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagementPolicyRuleActionsBaseBlobArgs Empty = new ManagementPolicyRuleActionsBaseBlobArgs();

    /**
     * Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to `false`.
     * 
     * > **Note:** The `auto_tier_to_hot_from_cool_enabled` must be used together with `tier_to_cool_after_days_since_last_access_time_greater_than`.
     * 
     */
    @Import(name="autoTierToHotFromCoolEnabled")
    private @Nullable Output autoTierToHotFromCoolEnabled;

    /**
     * @return Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to `false`.
     * 
     * > **Note:** The `auto_tier_to_hot_from_cool_enabled` must be used together with `tier_to_cool_after_days_since_last_access_time_greater_than`.
     * 
     */
    public Optional> autoTierToHotFromCoolEnabled() {
        return Optional.ofNullable(this.autoTierToHotFromCoolEnabled);
    }

    /**
     * The age in days after creation to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     * > **Note:** The `delete_after_days_since_modification_greater_than`, `delete_after_days_since_last_access_time_greater_than` and `delete_after_days_since_creation_greater_than` can not be set at the same time.
     * 
     * > **Note:** The `last_access_time_enabled` must be set to `true` in the `azure.storage.Account` in order to use `tier_to_cool_after_days_since_last_access_time_greater_than`, `tier_to_archive_after_days_since_last_access_time_greater_than` and `delete_after_days_since_last_access_time_greater_than`.
     * 
     */
    @Import(name="deleteAfterDaysSinceCreationGreaterThan")
    private @Nullable Output deleteAfterDaysSinceCreationGreaterThan;

    /**
     * @return The age in days after creation to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     * > **Note:** The `delete_after_days_since_modification_greater_than`, `delete_after_days_since_last_access_time_greater_than` and `delete_after_days_since_creation_greater_than` can not be set at the same time.
     * 
     * > **Note:** The `last_access_time_enabled` must be set to `true` in the `azure.storage.Account` in order to use `tier_to_cool_after_days_since_last_access_time_greater_than`, `tier_to_archive_after_days_since_last_access_time_greater_than` and `delete_after_days_since_last_access_time_greater_than`.
     * 
     */
    public Optional> deleteAfterDaysSinceCreationGreaterThan() {
        return Optional.ofNullable(this.deleteAfterDaysSinceCreationGreaterThan);
    }

    /**
     * The age in days after last access time to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="deleteAfterDaysSinceLastAccessTimeGreaterThan")
    private @Nullable Output deleteAfterDaysSinceLastAccessTimeGreaterThan;

    /**
     * @return The age in days after last access time to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> deleteAfterDaysSinceLastAccessTimeGreaterThan() {
        return Optional.ofNullable(this.deleteAfterDaysSinceLastAccessTimeGreaterThan);
    }

    /**
     * The age in days after last modification to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="deleteAfterDaysSinceModificationGreaterThan")
    private @Nullable Output deleteAfterDaysSinceModificationGreaterThan;

    /**
     * @return The age in days after last modification to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> deleteAfterDaysSinceModificationGreaterThan() {
        return Optional.ofNullable(this.deleteAfterDaysSinceModificationGreaterThan);
    }

    /**
     * The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     * > **Note:** The `tier_to_archive_after_days_since_modification_greater_than`, `tier_to_archive_after_days_since_last_access_time_greater_than` and `tier_to_archive_after_days_since_creation_greater_than` can not be set at the same time.
     * 
     */
    @Import(name="tierToArchiveAfterDaysSinceCreationGreaterThan")
    private @Nullable Output tierToArchiveAfterDaysSinceCreationGreaterThan;

    /**
     * @return The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     * > **Note:** The `tier_to_archive_after_days_since_modification_greater_than`, `tier_to_archive_after_days_since_last_access_time_greater_than` and `tier_to_archive_after_days_since_creation_greater_than` can not be set at the same time.
     * 
     */
    public Optional> tierToArchiveAfterDaysSinceCreationGreaterThan() {
        return Optional.ofNullable(this.tierToArchiveAfterDaysSinceCreationGreaterThan);
    }

    /**
     * The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan")
    private @Nullable Output tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan;

    /**
     * @return The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan() {
        return Optional.ofNullable(this.tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan);
    }

    /**
     * The age in days after last tier change to the blobs to skip to be archved. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="tierToArchiveAfterDaysSinceLastTierChangeGreaterThan")
    private @Nullable Output tierToArchiveAfterDaysSinceLastTierChangeGreaterThan;

    /**
     * @return The age in days after last tier change to the blobs to skip to be archved. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> tierToArchiveAfterDaysSinceLastTierChangeGreaterThan() {
        return Optional.ofNullable(this.tierToArchiveAfterDaysSinceLastTierChangeGreaterThan);
    }

    /**
     * The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="tierToArchiveAfterDaysSinceModificationGreaterThan")
    private @Nullable Output tierToArchiveAfterDaysSinceModificationGreaterThan;

    /**
     * @return The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> tierToArchiveAfterDaysSinceModificationGreaterThan() {
        return Optional.ofNullable(this.tierToArchiveAfterDaysSinceModificationGreaterThan);
    }

    /**
     * The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     * > **Note:** The `tier_to_cool_after_days_since_modification_greater_than`, `tier_to_cool_after_days_since_last_access_time_greater_than` and `tier_to_cool_after_days_since_creation_greater_than` can not be set at the same time.
     * 
     */
    @Import(name="tierToColdAfterDaysSinceCreationGreaterThan")
    private @Nullable Output tierToColdAfterDaysSinceCreationGreaterThan;

    /**
     * @return The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     * > **Note:** The `tier_to_cool_after_days_since_modification_greater_than`, `tier_to_cool_after_days_since_last_access_time_greater_than` and `tier_to_cool_after_days_since_creation_greater_than` can not be set at the same time.
     * 
     */
    public Optional> tierToColdAfterDaysSinceCreationGreaterThan() {
        return Optional.ofNullable(this.tierToColdAfterDaysSinceCreationGreaterThan);
    }

    /**
     * The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="tierToColdAfterDaysSinceLastAccessTimeGreaterThan")
    private @Nullable Output tierToColdAfterDaysSinceLastAccessTimeGreaterThan;

    /**
     * @return The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> tierToColdAfterDaysSinceLastAccessTimeGreaterThan() {
        return Optional.ofNullable(this.tierToColdAfterDaysSinceLastAccessTimeGreaterThan);
    }

    /**
     * The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="tierToColdAfterDaysSinceModificationGreaterThan")
    private @Nullable Output tierToColdAfterDaysSinceModificationGreaterThan;

    /**
     * @return The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> tierToColdAfterDaysSinceModificationGreaterThan() {
        return Optional.ofNullable(this.tierToColdAfterDaysSinceModificationGreaterThan);
    }

    /**
     * The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     * > **Note:** The `tier_to_cool_after_days_since_modification_greater_than`, `tier_to_cool_after_days_since_last_access_time_greater_than` and `tier_to_cool_after_days_since_creation_greater_than` can not be set at the same time.
     * 
     */
    @Import(name="tierToCoolAfterDaysSinceCreationGreaterThan")
    private @Nullable Output tierToCoolAfterDaysSinceCreationGreaterThan;

    /**
     * @return The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     * > **Note:** The `tier_to_cool_after_days_since_modification_greater_than`, `tier_to_cool_after_days_since_last_access_time_greater_than` and `tier_to_cool_after_days_since_creation_greater_than` can not be set at the same time.
     * 
     */
    public Optional> tierToCoolAfterDaysSinceCreationGreaterThan() {
        return Optional.ofNullable(this.tierToCoolAfterDaysSinceCreationGreaterThan);
    }

    /**
     * The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="tierToCoolAfterDaysSinceLastAccessTimeGreaterThan")
    private @Nullable Output tierToCoolAfterDaysSinceLastAccessTimeGreaterThan;

    /**
     * @return The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> tierToCoolAfterDaysSinceLastAccessTimeGreaterThan() {
        return Optional.ofNullable(this.tierToCoolAfterDaysSinceLastAccessTimeGreaterThan);
    }

    /**
     * The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    @Import(name="tierToCoolAfterDaysSinceModificationGreaterThan")
    private @Nullable Output tierToCoolAfterDaysSinceModificationGreaterThan;

    /**
     * @return The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
     * 
     */
    public Optional> tierToCoolAfterDaysSinceModificationGreaterThan() {
        return Optional.ofNullable(this.tierToCoolAfterDaysSinceModificationGreaterThan);
    }

    private ManagementPolicyRuleActionsBaseBlobArgs() {}

    private ManagementPolicyRuleActionsBaseBlobArgs(ManagementPolicyRuleActionsBaseBlobArgs $) {
        this.autoTierToHotFromCoolEnabled = $.autoTierToHotFromCoolEnabled;
        this.deleteAfterDaysSinceCreationGreaterThan = $.deleteAfterDaysSinceCreationGreaterThan;
        this.deleteAfterDaysSinceLastAccessTimeGreaterThan = $.deleteAfterDaysSinceLastAccessTimeGreaterThan;
        this.deleteAfterDaysSinceModificationGreaterThan = $.deleteAfterDaysSinceModificationGreaterThan;
        this.tierToArchiveAfterDaysSinceCreationGreaterThan = $.tierToArchiveAfterDaysSinceCreationGreaterThan;
        this.tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan = $.tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan;
        this.tierToArchiveAfterDaysSinceLastTierChangeGreaterThan = $.tierToArchiveAfterDaysSinceLastTierChangeGreaterThan;
        this.tierToArchiveAfterDaysSinceModificationGreaterThan = $.tierToArchiveAfterDaysSinceModificationGreaterThan;
        this.tierToColdAfterDaysSinceCreationGreaterThan = $.tierToColdAfterDaysSinceCreationGreaterThan;
        this.tierToColdAfterDaysSinceLastAccessTimeGreaterThan = $.tierToColdAfterDaysSinceLastAccessTimeGreaterThan;
        this.tierToColdAfterDaysSinceModificationGreaterThan = $.tierToColdAfterDaysSinceModificationGreaterThan;
        this.tierToCoolAfterDaysSinceCreationGreaterThan = $.tierToCoolAfterDaysSinceCreationGreaterThan;
        this.tierToCoolAfterDaysSinceLastAccessTimeGreaterThan = $.tierToCoolAfterDaysSinceLastAccessTimeGreaterThan;
        this.tierToCoolAfterDaysSinceModificationGreaterThan = $.tierToCoolAfterDaysSinceModificationGreaterThan;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(ManagementPolicyRuleActionsBaseBlobArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private ManagementPolicyRuleActionsBaseBlobArgs $;

        public Builder() {
            $ = new ManagementPolicyRuleActionsBaseBlobArgs();
        }

        public Builder(ManagementPolicyRuleActionsBaseBlobArgs defaults) {
            $ = new ManagementPolicyRuleActionsBaseBlobArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param autoTierToHotFromCoolEnabled Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to `false`.
         * 
         * > **Note:** The `auto_tier_to_hot_from_cool_enabled` must be used together with `tier_to_cool_after_days_since_last_access_time_greater_than`.
         * 
         * @return builder
         * 
         */
        public Builder autoTierToHotFromCoolEnabled(@Nullable Output autoTierToHotFromCoolEnabled) {
            $.autoTierToHotFromCoolEnabled = autoTierToHotFromCoolEnabled;
            return this;
        }

        /**
         * @param autoTierToHotFromCoolEnabled Whether a blob should automatically be tiered from cool back to hot if it's accessed again after being tiered to cool. Defaults to `false`.
         * 
         * > **Note:** The `auto_tier_to_hot_from_cool_enabled` must be used together with `tier_to_cool_after_days_since_last_access_time_greater_than`.
         * 
         * @return builder
         * 
         */
        public Builder autoTierToHotFromCoolEnabled(Boolean autoTierToHotFromCoolEnabled) {
            return autoTierToHotFromCoolEnabled(Output.of(autoTierToHotFromCoolEnabled));
        }

        /**
         * @param deleteAfterDaysSinceCreationGreaterThan The age in days after creation to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * > **Note:** The `delete_after_days_since_modification_greater_than`, `delete_after_days_since_last_access_time_greater_than` and `delete_after_days_since_creation_greater_than` can not be set at the same time.
         * 
         * > **Note:** The `last_access_time_enabled` must be set to `true` in the `azure.storage.Account` in order to use `tier_to_cool_after_days_since_last_access_time_greater_than`, `tier_to_archive_after_days_since_last_access_time_greater_than` and `delete_after_days_since_last_access_time_greater_than`.
         * 
         * @return builder
         * 
         */
        public Builder deleteAfterDaysSinceCreationGreaterThan(@Nullable Output deleteAfterDaysSinceCreationGreaterThan) {
            $.deleteAfterDaysSinceCreationGreaterThan = deleteAfterDaysSinceCreationGreaterThan;
            return this;
        }

        /**
         * @param deleteAfterDaysSinceCreationGreaterThan The age in days after creation to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * > **Note:** The `delete_after_days_since_modification_greater_than`, `delete_after_days_since_last_access_time_greater_than` and `delete_after_days_since_creation_greater_than` can not be set at the same time.
         * 
         * > **Note:** The `last_access_time_enabled` must be set to `true` in the `azure.storage.Account` in order to use `tier_to_cool_after_days_since_last_access_time_greater_than`, `tier_to_archive_after_days_since_last_access_time_greater_than` and `delete_after_days_since_last_access_time_greater_than`.
         * 
         * @return builder
         * 
         */
        public Builder deleteAfterDaysSinceCreationGreaterThan(Integer deleteAfterDaysSinceCreationGreaterThan) {
            return deleteAfterDaysSinceCreationGreaterThan(Output.of(deleteAfterDaysSinceCreationGreaterThan));
        }

        /**
         * @param deleteAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder deleteAfterDaysSinceLastAccessTimeGreaterThan(@Nullable Output deleteAfterDaysSinceLastAccessTimeGreaterThan) {
            $.deleteAfterDaysSinceLastAccessTimeGreaterThan = deleteAfterDaysSinceLastAccessTimeGreaterThan;
            return this;
        }

        /**
         * @param deleteAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder deleteAfterDaysSinceLastAccessTimeGreaterThan(Integer deleteAfterDaysSinceLastAccessTimeGreaterThan) {
            return deleteAfterDaysSinceLastAccessTimeGreaterThan(Output.of(deleteAfterDaysSinceLastAccessTimeGreaterThan));
        }

        /**
         * @param deleteAfterDaysSinceModificationGreaterThan The age in days after last modification to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder deleteAfterDaysSinceModificationGreaterThan(@Nullable Output deleteAfterDaysSinceModificationGreaterThan) {
            $.deleteAfterDaysSinceModificationGreaterThan = deleteAfterDaysSinceModificationGreaterThan;
            return this;
        }

        /**
         * @param deleteAfterDaysSinceModificationGreaterThan The age in days after last modification to delete the blob. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder deleteAfterDaysSinceModificationGreaterThan(Integer deleteAfterDaysSinceModificationGreaterThan) {
            return deleteAfterDaysSinceModificationGreaterThan(Output.of(deleteAfterDaysSinceModificationGreaterThan));
        }

        /**
         * @param tierToArchiveAfterDaysSinceCreationGreaterThan The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * > **Note:** The `tier_to_archive_after_days_since_modification_greater_than`, `tier_to_archive_after_days_since_last_access_time_greater_than` and `tier_to_archive_after_days_since_creation_greater_than` can not be set at the same time.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchiveAfterDaysSinceCreationGreaterThan(@Nullable Output tierToArchiveAfterDaysSinceCreationGreaterThan) {
            $.tierToArchiveAfterDaysSinceCreationGreaterThan = tierToArchiveAfterDaysSinceCreationGreaterThan;
            return this;
        }

        /**
         * @param tierToArchiveAfterDaysSinceCreationGreaterThan The age in days after creation to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * > **Note:** The `tier_to_archive_after_days_since_modification_greater_than`, `tier_to_archive_after_days_since_last_access_time_greater_than` and `tier_to_archive_after_days_since_creation_greater_than` can not be set at the same time.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchiveAfterDaysSinceCreationGreaterThan(Integer tierToArchiveAfterDaysSinceCreationGreaterThan) {
            return tierToArchiveAfterDaysSinceCreationGreaterThan(Output.of(tierToArchiveAfterDaysSinceCreationGreaterThan));
        }

        /**
         * @param tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan(@Nullable Output tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan) {
            $.tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan = tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan;
            return this;
        }

        /**
         * @param tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan(Integer tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan) {
            return tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan(Output.of(tierToArchiveAfterDaysSinceLastAccessTimeGreaterThan));
        }

        /**
         * @param tierToArchiveAfterDaysSinceLastTierChangeGreaterThan The age in days after last tier change to the blobs to skip to be archved. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(@Nullable Output tierToArchiveAfterDaysSinceLastTierChangeGreaterThan) {
            $.tierToArchiveAfterDaysSinceLastTierChangeGreaterThan = tierToArchiveAfterDaysSinceLastTierChangeGreaterThan;
            return this;
        }

        /**
         * @param tierToArchiveAfterDaysSinceLastTierChangeGreaterThan The age in days after last tier change to the blobs to skip to be archved. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(Integer tierToArchiveAfterDaysSinceLastTierChangeGreaterThan) {
            return tierToArchiveAfterDaysSinceLastTierChangeGreaterThan(Output.of(tierToArchiveAfterDaysSinceLastTierChangeGreaterThan));
        }

        /**
         * @param tierToArchiveAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchiveAfterDaysSinceModificationGreaterThan(@Nullable Output tierToArchiveAfterDaysSinceModificationGreaterThan) {
            $.tierToArchiveAfterDaysSinceModificationGreaterThan = tierToArchiveAfterDaysSinceModificationGreaterThan;
            return this;
        }

        /**
         * @param tierToArchiveAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to archive storage. Supports blob currently at Hot or Cool tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchiveAfterDaysSinceModificationGreaterThan(Integer tierToArchiveAfterDaysSinceModificationGreaterThan) {
            return tierToArchiveAfterDaysSinceModificationGreaterThan(Output.of(tierToArchiveAfterDaysSinceModificationGreaterThan));
        }

        /**
         * @param tierToColdAfterDaysSinceCreationGreaterThan The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * > **Note:** The `tier_to_cool_after_days_since_modification_greater_than`, `tier_to_cool_after_days_since_last_access_time_greater_than` and `tier_to_cool_after_days_since_creation_greater_than` can not be set at the same time.
         * 
         * @return builder
         * 
         */
        public Builder tierToColdAfterDaysSinceCreationGreaterThan(@Nullable Output tierToColdAfterDaysSinceCreationGreaterThan) {
            $.tierToColdAfterDaysSinceCreationGreaterThan = tierToColdAfterDaysSinceCreationGreaterThan;
            return this;
        }

        /**
         * @param tierToColdAfterDaysSinceCreationGreaterThan The age in days after creation to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * > **Note:** The `tier_to_cool_after_days_since_modification_greater_than`, `tier_to_cool_after_days_since_last_access_time_greater_than` and `tier_to_cool_after_days_since_creation_greater_than` can not be set at the same time.
         * 
         * @return builder
         * 
         */
        public Builder tierToColdAfterDaysSinceCreationGreaterThan(Integer tierToColdAfterDaysSinceCreationGreaterThan) {
            return tierToColdAfterDaysSinceCreationGreaterThan(Output.of(tierToColdAfterDaysSinceCreationGreaterThan));
        }

        /**
         * @param tierToColdAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToColdAfterDaysSinceLastAccessTimeGreaterThan(@Nullable Output tierToColdAfterDaysSinceLastAccessTimeGreaterThan) {
            $.tierToColdAfterDaysSinceLastAccessTimeGreaterThan = tierToColdAfterDaysSinceLastAccessTimeGreaterThan;
            return this;
        }

        /**
         * @param tierToColdAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToColdAfterDaysSinceLastAccessTimeGreaterThan(Integer tierToColdAfterDaysSinceLastAccessTimeGreaterThan) {
            return tierToColdAfterDaysSinceLastAccessTimeGreaterThan(Output.of(tierToColdAfterDaysSinceLastAccessTimeGreaterThan));
        }

        /**
         * @param tierToColdAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToColdAfterDaysSinceModificationGreaterThan(@Nullable Output tierToColdAfterDaysSinceModificationGreaterThan) {
            $.tierToColdAfterDaysSinceModificationGreaterThan = tierToColdAfterDaysSinceModificationGreaterThan;
            return this;
        }

        /**
         * @param tierToColdAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to cold storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToColdAfterDaysSinceModificationGreaterThan(Integer tierToColdAfterDaysSinceModificationGreaterThan) {
            return tierToColdAfterDaysSinceModificationGreaterThan(Output.of(tierToColdAfterDaysSinceModificationGreaterThan));
        }

        /**
         * @param tierToCoolAfterDaysSinceCreationGreaterThan The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * > **Note:** The `tier_to_cool_after_days_since_modification_greater_than`, `tier_to_cool_after_days_since_last_access_time_greater_than` and `tier_to_cool_after_days_since_creation_greater_than` can not be set at the same time.
         * 
         * @return builder
         * 
         */
        public Builder tierToCoolAfterDaysSinceCreationGreaterThan(@Nullable Output tierToCoolAfterDaysSinceCreationGreaterThan) {
            $.tierToCoolAfterDaysSinceCreationGreaterThan = tierToCoolAfterDaysSinceCreationGreaterThan;
            return this;
        }

        /**
         * @param tierToCoolAfterDaysSinceCreationGreaterThan The age in days after creation to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * > **Note:** The `tier_to_cool_after_days_since_modification_greater_than`, `tier_to_cool_after_days_since_last_access_time_greater_than` and `tier_to_cool_after_days_since_creation_greater_than` can not be set at the same time.
         * 
         * @return builder
         * 
         */
        public Builder tierToCoolAfterDaysSinceCreationGreaterThan(Integer tierToCoolAfterDaysSinceCreationGreaterThan) {
            return tierToCoolAfterDaysSinceCreationGreaterThan(Output.of(tierToCoolAfterDaysSinceCreationGreaterThan));
        }

        /**
         * @param tierToCoolAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToCoolAfterDaysSinceLastAccessTimeGreaterThan(@Nullable Output tierToCoolAfterDaysSinceLastAccessTimeGreaterThan) {
            $.tierToCoolAfterDaysSinceLastAccessTimeGreaterThan = tierToCoolAfterDaysSinceLastAccessTimeGreaterThan;
            return this;
        }

        /**
         * @param tierToCoolAfterDaysSinceLastAccessTimeGreaterThan The age in days after last access time to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToCoolAfterDaysSinceLastAccessTimeGreaterThan(Integer tierToCoolAfterDaysSinceLastAccessTimeGreaterThan) {
            return tierToCoolAfterDaysSinceLastAccessTimeGreaterThan(Output.of(tierToCoolAfterDaysSinceLastAccessTimeGreaterThan));
        }

        /**
         * @param tierToCoolAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToCoolAfterDaysSinceModificationGreaterThan(@Nullable Output tierToCoolAfterDaysSinceModificationGreaterThan) {
            $.tierToCoolAfterDaysSinceModificationGreaterThan = tierToCoolAfterDaysSinceModificationGreaterThan;
            return this;
        }

        /**
         * @param tierToCoolAfterDaysSinceModificationGreaterThan The age in days after last modification to tier blobs to cool storage. Supports blob currently at Hot tier. Must be between `0` and `99999`. Defaults to `-1`.
         * 
         * @return builder
         * 
         */
        public Builder tierToCoolAfterDaysSinceModificationGreaterThan(Integer tierToCoolAfterDaysSinceModificationGreaterThan) {
            return tierToCoolAfterDaysSinceModificationGreaterThan(Output.of(tierToCoolAfterDaysSinceModificationGreaterThan));
        }

        public ManagementPolicyRuleActionsBaseBlobArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy