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

com.pulumi.azure.logicapps.inputs.GetStandardPlainArgs Maven / Gradle / Ivy

// *** 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.logicapps.inputs;

import com.pulumi.azure.logicapps.inputs.GetStandardSiteConfig;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetStandardPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetStandardPlainArgs Empty = new GetStandardPlainArgs();

    /**
     * The name of this Logic App.
     * 
     */
    @Import(name="name", required=true)
    private String name;

    /**
     * @return The name of this Logic App.
     * 
     */
    public String name() {
        return this.name;
    }

    /**
     * The name of the Resource Group where the Logic App exists.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return The name of the Resource Group where the Logic App exists.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    @Import(name="siteConfig")
    private @Nullable GetStandardSiteConfig siteConfig;

    public Optional siteConfig() {
        return Optional.ofNullable(this.siteConfig);
    }

    @Import(name="tags")
    private @Nullable Map tags;

    public Optional> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GetStandardPlainArgs() {}

    private GetStandardPlainArgs(GetStandardPlainArgs $) {
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.siteConfig = $.siteConfig;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GetStandardPlainArgs $;

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

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

        /**
         * @param name The name of this Logic App.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            $.name = name;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Logic App exists.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        public Builder siteConfig(@Nullable GetStandardSiteConfig siteConfig) {
            $.siteConfig = siteConfig;
            return this;
        }

        public Builder tags(@Nullable Map tags) {
            $.tags = tags;
            return this;
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy