com.pulumi.azure.appservice.inputs.LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
public final class LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs extends com.pulumi.resources.ResourceArgs {
public static final LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs Empty = new LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs();
/**
* The number of requests in the specified `interval` to trigger this rule.
*
*/
@Import(name="count", required=true)
private Output count;
/**
* @return The number of requests in the specified `interval` to trigger this rule.
*
*/
public Output count() {
return this.count;
}
/**
* The interval in `hh:mm:ss`.
*
*/
@Import(name="interval", required=true)
private Output interval;
/**
* @return The interval in `hh:mm:ss`.
*
*/
public Output interval() {
return this.interval;
}
private LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs() {}
private LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs(LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs $) {
this.count = $.count;
this.interval = $.interval;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs $;
public Builder() {
$ = new LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs();
}
public Builder(LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs defaults) {
$ = new LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs(Objects.requireNonNull(defaults));
}
/**
* @param count The number of requests in the specified `interval` to trigger this rule.
*
* @return builder
*
*/
public Builder count(Output count) {
$.count = count;
return this;
}
/**
* @param count The number of requests in the specified `interval` to trigger this rule.
*
* @return builder
*
*/
public Builder count(Integer count) {
return count(Output.of(count));
}
/**
* @param interval The interval in `hh:mm:ss`.
*
* @return builder
*
*/
public Builder interval(Output interval) {
$.interval = interval;
return this;
}
/**
* @param interval The interval in `hh:mm:ss`.
*
* @return builder
*
*/
public Builder interval(String interval) {
return interval(Output.of(interval));
}
public LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs build() {
if ($.count == null) {
throw new MissingRequiredPropertyException("LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs", "count");
}
if ($.interval == null) {
throw new MissingRequiredPropertyException("LinuxWebAppSiteConfigAutoHealSettingTriggerRequestsArgs", "interval");
}
return $;
}
}
}