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

com.pulumi.azurenative.web.inputs.ListWebAppHybridConnectionKeysSlotArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.web.inputs;

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


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

    public static final ListWebAppHybridConnectionKeysSlotArgs Empty = new ListWebAppHybridConnectionKeysSlotArgs();

    /**
     * The name of the web app.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return The name of the web app.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The namespace for this hybrid connection.
     * 
     */
    @Import(name="namespaceName", required=true)
    private Output namespaceName;

    /**
     * @return The namespace for this hybrid connection.
     * 
     */
    public Output namespaceName() {
        return this.namespaceName;
    }

    /**
     * The relay name for this hybrid connection.
     * 
     */
    @Import(name="relayName", required=true)
    private Output relayName;

    /**
     * @return The relay name for this hybrid connection.
     * 
     */
    public Output relayName() {
        return this.relayName;
    }

    /**
     * Name of the resource group to which the resource belongs.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return Name of the resource group to which the resource belongs.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * The name of the slot for the web app.
     * 
     */
    @Import(name="slot", required=true)
    private Output slot;

    /**
     * @return The name of the slot for the web app.
     * 
     */
    public Output slot() {
        return this.slot;
    }

    private ListWebAppHybridConnectionKeysSlotArgs() {}

    private ListWebAppHybridConnectionKeysSlotArgs(ListWebAppHybridConnectionKeysSlotArgs $) {
        this.name = $.name;
        this.namespaceName = $.namespaceName;
        this.relayName = $.relayName;
        this.resourceGroupName = $.resourceGroupName;
        this.slot = $.slot;
    }

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

    public static final class Builder {
        private ListWebAppHybridConnectionKeysSlotArgs $;

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

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

        /**
         * @param name The name of the web app.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the web app.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param namespaceName The namespace for this hybrid connection.
         * 
         * @return builder
         * 
         */
        public Builder namespaceName(Output namespaceName) {
            $.namespaceName = namespaceName;
            return this;
        }

        /**
         * @param namespaceName The namespace for this hybrid connection.
         * 
         * @return builder
         * 
         */
        public Builder namespaceName(String namespaceName) {
            return namespaceName(Output.of(namespaceName));
        }

        /**
         * @param relayName The relay name for this hybrid connection.
         * 
         * @return builder
         * 
         */
        public Builder relayName(Output relayName) {
            $.relayName = relayName;
            return this;
        }

        /**
         * @param relayName The relay name for this hybrid connection.
         * 
         * @return builder
         * 
         */
        public Builder relayName(String relayName) {
            return relayName(Output.of(relayName));
        }

        /**
         * @param resourceGroupName Name of the resource group to which the resource belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the resource group to which the resource belongs.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param slot The name of the slot for the web app.
         * 
         * @return builder
         * 
         */
        public Builder slot(Output slot) {
            $.slot = slot;
            return this;
        }

        /**
         * @param slot The name of the slot for the web app.
         * 
         * @return builder
         * 
         */
        public Builder slot(String slot) {
            return slot(Output.of(slot));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy