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

com.pulumi.azure.keyvault.inputs.CertificateCertificatePolicyLifetimeActionTriggerArgs 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.keyvault.inputs;

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


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

    public static final CertificateCertificatePolicyLifetimeActionTriggerArgs Empty = new CertificateCertificatePolicyLifetimeActionTriggerArgs();

    /**
     * The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with `lifetime_percentage`.
     * 
     */
    @Import(name="daysBeforeExpiry")
    private @Nullable Output daysBeforeExpiry;

    /**
     * @return The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with `lifetime_percentage`.
     * 
     */
    public Optional> daysBeforeExpiry() {
        return Optional.ofNullable(this.daysBeforeExpiry);
    }

    /**
     * The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with `days_before_expiry`.
     * 
     */
    @Import(name="lifetimePercentage")
    private @Nullable Output lifetimePercentage;

    /**
     * @return The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with `days_before_expiry`.
     * 
     */
    public Optional> lifetimePercentage() {
        return Optional.ofNullable(this.lifetimePercentage);
    }

    private CertificateCertificatePolicyLifetimeActionTriggerArgs() {}

    private CertificateCertificatePolicyLifetimeActionTriggerArgs(CertificateCertificatePolicyLifetimeActionTriggerArgs $) {
        this.daysBeforeExpiry = $.daysBeforeExpiry;
        this.lifetimePercentage = $.lifetimePercentage;
    }

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

    public static final class Builder {
        private CertificateCertificatePolicyLifetimeActionTriggerArgs $;

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

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

        /**
         * @param daysBeforeExpiry The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with `lifetime_percentage`.
         * 
         * @return builder
         * 
         */
        public Builder daysBeforeExpiry(@Nullable Output daysBeforeExpiry) {
            $.daysBeforeExpiry = daysBeforeExpiry;
            return this;
        }

        /**
         * @param daysBeforeExpiry The number of days before the Certificate expires that the action associated with this Trigger should run. Conflicts with `lifetime_percentage`.
         * 
         * @return builder
         * 
         */
        public Builder daysBeforeExpiry(Integer daysBeforeExpiry) {
            return daysBeforeExpiry(Output.of(daysBeforeExpiry));
        }

        /**
         * @param lifetimePercentage The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with `days_before_expiry`.
         * 
         * @return builder
         * 
         */
        public Builder lifetimePercentage(@Nullable Output lifetimePercentage) {
            $.lifetimePercentage = lifetimePercentage;
            return this;
        }

        /**
         * @param lifetimePercentage The percentage at which during the Certificates Lifetime the action associated with this Trigger should run. Conflicts with `days_before_expiry`.
         * 
         * @return builder
         * 
         */
        public Builder lifetimePercentage(Integer lifetimePercentage) {
            return lifetimePercentage(Output.of(lifetimePercentage));
        }

        public CertificateCertificatePolicyLifetimeActionTriggerArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy