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

com.pulumi.azure.dataprotection.inputs.BackupPolicyDiskRetentionRuleCriteriaArgs 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.dataprotection.inputs;

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


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

    public static final BackupPolicyDiskRetentionRuleCriteriaArgs Empty = new BackupPolicyDiskRetentionRuleCriteriaArgs();

    /**
     * Possible values are `FirstOfDay` and `FirstOfWeek`. Changing this forces a new Backup Policy Disk to be created.
     * 
     */
    @Import(name="absoluteCriteria")
    private @Nullable Output absoluteCriteria;

    /**
     * @return Possible values are `FirstOfDay` and `FirstOfWeek`. Changing this forces a new Backup Policy Disk to be created.
     * 
     */
    public Optional> absoluteCriteria() {
        return Optional.ofNullable(this.absoluteCriteria);
    }

    private BackupPolicyDiskRetentionRuleCriteriaArgs() {}

    private BackupPolicyDiskRetentionRuleCriteriaArgs(BackupPolicyDiskRetentionRuleCriteriaArgs $) {
        this.absoluteCriteria = $.absoluteCriteria;
    }

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

    public static final class Builder {
        private BackupPolicyDiskRetentionRuleCriteriaArgs $;

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

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

        /**
         * @param absoluteCriteria Possible values are `FirstOfDay` and `FirstOfWeek`. Changing this forces a new Backup Policy Disk to be created.
         * 
         * @return builder
         * 
         */
        public Builder absoluteCriteria(@Nullable Output absoluteCriteria) {
            $.absoluteCriteria = absoluteCriteria;
            return this;
        }

        /**
         * @param absoluteCriteria Possible values are `FirstOfDay` and `FirstOfWeek`. Changing this forces a new Backup Policy Disk to be created.
         * 
         * @return builder
         * 
         */
        public Builder absoluteCriteria(String absoluteCriteria) {
            return absoluteCriteria(Output.of(absoluteCriteria));
        }

        public BackupPolicyDiskRetentionRuleCriteriaArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy