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

com.pulumi.azure.appservice.outputs.LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests 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.appservice.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests {
    /**
     * @return The number of requests in the specified `interval` to trigger this rule.
     * 
     */
    private Integer count;
    /**
     * @return The interval in `hh:mm:ss`.
     * 
     */
    private String interval;

    private LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests() {}
    /**
     * @return The number of requests in the specified `interval` to trigger this rule.
     * 
     */
    public Integer count() {
        return this.count;
    }
    /**
     * @return The interval in `hh:mm:ss`.
     * 
     */
    public String interval() {
        return this.interval;
    }

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

    public static Builder builder(LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer count;
        private String interval;
        public Builder() {}
        public Builder(LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.count = defaults.count;
    	      this.interval = defaults.interval;
        }

        @CustomType.Setter
        public Builder count(Integer count) {
            if (count == null) {
              throw new MissingRequiredPropertyException("LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests", "count");
            }
            this.count = count;
            return this;
        }
        @CustomType.Setter
        public Builder interval(String interval) {
            if (interval == null) {
              throw new MissingRequiredPropertyException("LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests", "interval");
            }
            this.interval = interval;
            return this;
        }
        public LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests build() {
            final var _resultValue = new LinuxWebAppSlotSiteConfigAutoHealSettingTriggerRequests();
            _resultValue.count = count;
            _resultValue.interval = interval;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy