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

com.pulumi.azurenative.alertsmanagement.inputs.ThrottlingInformationArgs 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.alertsmanagement.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;


/**
 * Optional throttling information for the alert rule.
 * 
 */
public final class ThrottlingInformationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ThrottlingInformationArgs Empty = new ThrottlingInformationArgs();

    /**
     * The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes
     * 
     */
    @Import(name="duration")
    private @Nullable Output duration;

    /**
     * @return The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes
     * 
     */
    public Optional> duration() {
        return Optional.ofNullable(this.duration);
    }

    private ThrottlingInformationArgs() {}

    private ThrottlingInformationArgs(ThrottlingInformationArgs $) {
        this.duration = $.duration;
    }

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

    public static final class Builder {
        private ThrottlingInformationArgs $;

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

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

        /**
         * @param duration The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes
         * 
         * @return builder
         * 
         */
        public Builder duration(@Nullable Output duration) {
            $.duration = duration;
            return this;
        }

        /**
         * @param duration The required duration (in ISO8601 format) to wait before notifying on the alert rule again. The time granularity must be in minutes and minimum value is 0 minutes
         * 
         * @return builder
         * 
         */
        public Builder duration(String duration) {
            return duration(Output.of(duration));
        }

        public ThrottlingInformationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy