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

com.pulumi.azurenative.app.LogicAppArgs 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.app;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final LogicAppArgs Empty = new LogicAppArgs();

    /**
     * Name of the Container App.
     * 
     */
    @Import(name="containerAppName", required=true)
    private Output containerAppName;

    /**
     * @return Name of the Container App.
     * 
     */
    public Output containerAppName() {
        return this.containerAppName;
    }

    /**
     * Name of the Logic App, the extension resource.
     * 
     */
    @Import(name="logicAppName")
    private @Nullable Output logicAppName;

    /**
     * @return Name of the Logic App, the extension resource.
     * 
     */
    public Optional> logicAppName() {
        return Optional.ofNullable(this.logicAppName);
    }

    /**
     * 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;
    }

    private LogicAppArgs() {}

    private LogicAppArgs(LogicAppArgs $) {
        this.containerAppName = $.containerAppName;
        this.logicAppName = $.logicAppName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private LogicAppArgs $;

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

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

        /**
         * @param containerAppName Name of the Container App.
         * 
         * @return builder
         * 
         */
        public Builder containerAppName(Output containerAppName) {
            $.containerAppName = containerAppName;
            return this;
        }

        /**
         * @param containerAppName Name of the Container App.
         * 
         * @return builder
         * 
         */
        public Builder containerAppName(String containerAppName) {
            return containerAppName(Output.of(containerAppName));
        }

        /**
         * @param logicAppName Name of the Logic App, the extension resource.
         * 
         * @return builder
         * 
         */
        public Builder logicAppName(@Nullable Output logicAppName) {
            $.logicAppName = logicAppName;
            return this;
        }

        /**
         * @param logicAppName Name of the Logic App, the extension resource.
         * 
         * @return builder
         * 
         */
        public Builder logicAppName(String logicAppName) {
            return logicAppName(Output.of(logicAppName));
        }

        /**
         * @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));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy