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

com.pulumi.azurenative.storage.inputs.ManagementPolicyVersionArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.storage.inputs;

import com.pulumi.azurenative.storage.inputs.DateAfterCreationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Management policy action for blob version.
 * 
 */
public final class ManagementPolicyVersionArgs extends com.pulumi.resources.ResourceArgs {

    public static final ManagementPolicyVersionArgs Empty = new ManagementPolicyVersionArgs();

    /**
     * The function to delete the blob version
     * 
     */
    @Import(name="delete")
    private @Nullable Output delete;

    /**
     * @return The function to delete the blob version
     * 
     */
    public Optional> delete() {
        return Optional.ofNullable(this.delete);
    }

    /**
     * The function to tier blob version to archive storage.
     * 
     */
    @Import(name="tierToArchive")
    private @Nullable Output tierToArchive;

    /**
     * @return The function to tier blob version to archive storage.
     * 
     */
    public Optional> tierToArchive() {
        return Optional.ofNullable(this.tierToArchive);
    }

    /**
     * The function to tier blobs to cold storage.
     * 
     */
    @Import(name="tierToCold")
    private @Nullable Output tierToCold;

    /**
     * @return The function to tier blobs to cold storage.
     * 
     */
    public Optional> tierToCold() {
        return Optional.ofNullable(this.tierToCold);
    }

    /**
     * The function to tier blob version to cool storage.
     * 
     */
    @Import(name="tierToCool")
    private @Nullable Output tierToCool;

    /**
     * @return The function to tier blob version to cool storage.
     * 
     */
    public Optional> tierToCool() {
        return Optional.ofNullable(this.tierToCool);
    }

    /**
     * The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
     * 
     */
    @Import(name="tierToHot")
    private @Nullable Output tierToHot;

    /**
     * @return The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
     * 
     */
    public Optional> tierToHot() {
        return Optional.ofNullable(this.tierToHot);
    }

    private ManagementPolicyVersionArgs() {}

    private ManagementPolicyVersionArgs(ManagementPolicyVersionArgs $) {
        this.delete = $.delete;
        this.tierToArchive = $.tierToArchive;
        this.tierToCold = $.tierToCold;
        this.tierToCool = $.tierToCool;
        this.tierToHot = $.tierToHot;
    }

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

    public static final class Builder {
        private ManagementPolicyVersionArgs $;

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

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

        /**
         * @param delete The function to delete the blob version
         * 
         * @return builder
         * 
         */
        public Builder delete(@Nullable Output delete) {
            $.delete = delete;
            return this;
        }

        /**
         * @param delete The function to delete the blob version
         * 
         * @return builder
         * 
         */
        public Builder delete(DateAfterCreationArgs delete) {
            return delete(Output.of(delete));
        }

        /**
         * @param tierToArchive The function to tier blob version to archive storage.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchive(@Nullable Output tierToArchive) {
            $.tierToArchive = tierToArchive;
            return this;
        }

        /**
         * @param tierToArchive The function to tier blob version to archive storage.
         * 
         * @return builder
         * 
         */
        public Builder tierToArchive(DateAfterCreationArgs tierToArchive) {
            return tierToArchive(Output.of(tierToArchive));
        }

        /**
         * @param tierToCold The function to tier blobs to cold storage.
         * 
         * @return builder
         * 
         */
        public Builder tierToCold(@Nullable Output tierToCold) {
            $.tierToCold = tierToCold;
            return this;
        }

        /**
         * @param tierToCold The function to tier blobs to cold storage.
         * 
         * @return builder
         * 
         */
        public Builder tierToCold(DateAfterCreationArgs tierToCold) {
            return tierToCold(Output.of(tierToCold));
        }

        /**
         * @param tierToCool The function to tier blob version to cool storage.
         * 
         * @return builder
         * 
         */
        public Builder tierToCool(@Nullable Output tierToCool) {
            $.tierToCool = tierToCool;
            return this;
        }

        /**
         * @param tierToCool The function to tier blob version to cool storage.
         * 
         * @return builder
         * 
         */
        public Builder tierToCool(DateAfterCreationArgs tierToCool) {
            return tierToCool(Output.of(tierToCool));
        }

        /**
         * @param tierToHot The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
         * 
         * @return builder
         * 
         */
        public Builder tierToHot(@Nullable Output tierToHot) {
            $.tierToHot = tierToHot;
            return this;
        }

        /**
         * @param tierToHot The function to tier blobs to hot storage. This action can only be used with Premium Block Blob Storage Accounts
         * 
         * @return builder
         * 
         */
        public Builder tierToHot(DateAfterCreationArgs tierToHot) {
            return tierToHot(Output.of(tierToHot));
        }

        public ManagementPolicyVersionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy