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

com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingArgs 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.inputs;

import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingActionArgs;
import com.pulumi.azure.appservice.inputs.WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;


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

    public static final WindowsWebAppSlotSiteConfigAutoHealSettingArgs Empty = new WindowsWebAppSlotSiteConfigAutoHealSettingArgs();

    /**
     * A `action` block as defined above.
     * 
     */
    @Import(name="action", required=true)
    private Output action;

    /**
     * @return A `action` block as defined above.
     * 
     */
    public Output action() {
        return this.action;
    }

    /**
     * A `trigger` block as defined below.
     * 
     */
    @Import(name="trigger", required=true)
    private Output trigger;

    /**
     * @return A `trigger` block as defined below.
     * 
     */
    public Output trigger() {
        return this.trigger;
    }

    private WindowsWebAppSlotSiteConfigAutoHealSettingArgs() {}

    private WindowsWebAppSlotSiteConfigAutoHealSettingArgs(WindowsWebAppSlotSiteConfigAutoHealSettingArgs $) {
        this.action = $.action;
        this.trigger = $.trigger;
    }

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

    public static final class Builder {
        private WindowsWebAppSlotSiteConfigAutoHealSettingArgs $;

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

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

        /**
         * @param action A `action` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder action(Output action) {
            $.action = action;
            return this;
        }

        /**
         * @param action A `action` block as defined above.
         * 
         * @return builder
         * 
         */
        public Builder action(WindowsWebAppSlotSiteConfigAutoHealSettingActionArgs action) {
            return action(Output.of(action));
        }

        /**
         * @param trigger A `trigger` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder trigger(Output trigger) {
            $.trigger = trigger;
            return this;
        }

        /**
         * @param trigger A `trigger` block as defined below.
         * 
         * @return builder
         * 
         */
        public Builder trigger(WindowsWebAppSlotSiteConfigAutoHealSettingTriggerArgs trigger) {
            return trigger(Output.of(trigger));
        }

        public WindowsWebAppSlotSiteConfigAutoHealSettingArgs build() {
            if ($.action == null) {
                throw new MissingRequiredPropertyException("WindowsWebAppSlotSiteConfigAutoHealSettingArgs", "action");
            }
            if ($.trigger == null) {
                throw new MissingRequiredPropertyException("WindowsWebAppSlotSiteConfigAutoHealSettingArgs", "trigger");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy