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

com.pulumi.azurenative.offazure.WebAppSitesControllerArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.offazure;

import com.pulumi.azurenative.offazure.enums.WebAppSitePropertiesDiscoveryScenario;
import com.pulumi.azurenative.offazure.inputs.SiteAppliancePropertiesArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WebAppSitesControllerArgs Empty = new WebAppSitesControllerArgs();

    /**
     * Gets or sets the discovery scenario.
     * 
     */
    @Import(name="discoveryScenario")
    private @Nullable Output> discoveryScenario;

    /**
     * @return Gets or sets the discovery scenario.
     * 
     */
    public Optional>> discoveryScenario() {
        return Optional.ofNullable(this.discoveryScenario);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Gets or sets the appliance details used by service to communicate
     * 
     * to the appliance.
     * 
     */
    @Import(name="siteAppliancePropertiesCollection")
    private @Nullable Output> siteAppliancePropertiesCollection;

    /**
     * @return Gets or sets the appliance details used by service to communicate
     * 
     * to the appliance.
     * 
     */
    public Optional>> siteAppliancePropertiesCollection() {
        return Optional.ofNullable(this.siteAppliancePropertiesCollection);
    }

    /**
     * Site name
     * 
     */
    @Import(name="siteName", required=true)
    private Output siteName;

    /**
     * @return Site name
     * 
     */
    public Output siteName() {
        return this.siteName;
    }

    /**
     * Web app site name.
     * 
     */
    @Import(name="webAppSiteName")
    private @Nullable Output webAppSiteName;

    /**
     * @return Web app site name.
     * 
     */
    public Optional> webAppSiteName() {
        return Optional.ofNullable(this.webAppSiteName);
    }

    private WebAppSitesControllerArgs() {}

    private WebAppSitesControllerArgs(WebAppSitesControllerArgs $) {
        this.discoveryScenario = $.discoveryScenario;
        this.resourceGroupName = $.resourceGroupName;
        this.siteAppliancePropertiesCollection = $.siteAppliancePropertiesCollection;
        this.siteName = $.siteName;
        this.webAppSiteName = $.webAppSiteName;
    }

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

    public static final class Builder {
        private WebAppSitesControllerArgs $;

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

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

        /**
         * @param discoveryScenario Gets or sets the discovery scenario.
         * 
         * @return builder
         * 
         */
        public Builder discoveryScenario(@Nullable Output> discoveryScenario) {
            $.discoveryScenario = discoveryScenario;
            return this;
        }

        /**
         * @param discoveryScenario Gets or sets the discovery scenario.
         * 
         * @return builder
         * 
         */
        public Builder discoveryScenario(Either discoveryScenario) {
            return discoveryScenario(Output.of(discoveryScenario));
        }

        /**
         * @param discoveryScenario Gets or sets the discovery scenario.
         * 
         * @return builder
         * 
         */
        public Builder discoveryScenario(String discoveryScenario) {
            return discoveryScenario(Either.ofLeft(discoveryScenario));
        }

        /**
         * @param discoveryScenario Gets or sets the discovery scenario.
         * 
         * @return builder
         * 
         */
        public Builder discoveryScenario(WebAppSitePropertiesDiscoveryScenario discoveryScenario) {
            return discoveryScenario(Either.ofRight(discoveryScenario));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param siteAppliancePropertiesCollection Gets or sets the appliance details used by service to communicate
         * 
         * to the appliance.
         * 
         * @return builder
         * 
         */
        public Builder siteAppliancePropertiesCollection(@Nullable Output> siteAppliancePropertiesCollection) {
            $.siteAppliancePropertiesCollection = siteAppliancePropertiesCollection;
            return this;
        }

        /**
         * @param siteAppliancePropertiesCollection Gets or sets the appliance details used by service to communicate
         * 
         * to the appliance.
         * 
         * @return builder
         * 
         */
        public Builder siteAppliancePropertiesCollection(List siteAppliancePropertiesCollection) {
            return siteAppliancePropertiesCollection(Output.of(siteAppliancePropertiesCollection));
        }

        /**
         * @param siteAppliancePropertiesCollection Gets or sets the appliance details used by service to communicate
         * 
         * to the appliance.
         * 
         * @return builder
         * 
         */
        public Builder siteAppliancePropertiesCollection(SiteAppliancePropertiesArgs... siteAppliancePropertiesCollection) {
            return siteAppliancePropertiesCollection(List.of(siteAppliancePropertiesCollection));
        }

        /**
         * @param siteName Site name
         * 
         * @return builder
         * 
         */
        public Builder siteName(Output siteName) {
            $.siteName = siteName;
            return this;
        }

        /**
         * @param siteName Site name
         * 
         * @return builder
         * 
         */
        public Builder siteName(String siteName) {
            return siteName(Output.of(siteName));
        }

        /**
         * @param webAppSiteName Web app site name.
         * 
         * @return builder
         * 
         */
        public Builder webAppSiteName(@Nullable Output webAppSiteName) {
            $.webAppSiteName = webAppSiteName;
            return this;
        }

        /**
         * @param webAppSiteName Web app site name.
         * 
         * @return builder
         * 
         */
        public Builder webAppSiteName(String webAppSiteName) {
            return webAppSiteName(Output.of(webAppSiteName));
        }

        public WebAppSitesControllerArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("WebAppSitesControllerArgs", "resourceGroupName");
            }
            if ($.siteName == null) {
                throw new MissingRequiredPropertyException("WebAppSitesControllerArgs", "siteName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy