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

com.pulumi.azurenative.web.ConnectionGatewayArgs 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.web;

import com.pulumi.azurenative.web.inputs.ConnectionGatewayDefinitionPropertiesArgs;
import com.pulumi.core.Output;
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 ConnectionGatewayArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectionGatewayArgs Empty = new ConnectionGatewayArgs();

    /**
     * The connection gateway name
     * 
     */
    @Import(name="connectionGatewayName")
    private @Nullable Output connectionGatewayName;

    /**
     * @return The connection gateway name
     * 
     */
    public Optional> connectionGatewayName() {
        return Optional.ofNullable(this.connectionGatewayName);
    }

    /**
     * Resource location
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return Resource location
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    @Import(name="properties")
    private @Nullable Output properties;

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

    /**
     * The resource group
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The resource group
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Subscription Id
     * 
     */
    @Import(name="subscriptionId")
    private @Nullable Output subscriptionId;

    /**
     * @return Subscription Id
     * 
     */
    public Optional> subscriptionId() {
        return Optional.ofNullable(this.subscriptionId);
    }

    /**
     * Resource tags
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private ConnectionGatewayArgs() {}

    private ConnectionGatewayArgs(ConnectionGatewayArgs $) {
        this.connectionGatewayName = $.connectionGatewayName;
        this.location = $.location;
        this.properties = $.properties;
        this.resourceGroupName = $.resourceGroupName;
        this.subscriptionId = $.subscriptionId;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private ConnectionGatewayArgs $;

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

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

        /**
         * @param connectionGatewayName The connection gateway name
         * 
         * @return builder
         * 
         */
        public Builder connectionGatewayName(@Nullable Output connectionGatewayName) {
            $.connectionGatewayName = connectionGatewayName;
            return this;
        }

        /**
         * @param connectionGatewayName The connection gateway name
         * 
         * @return builder
         * 
         */
        public Builder connectionGatewayName(String connectionGatewayName) {
            return connectionGatewayName(Output.of(connectionGatewayName));
        }

        /**
         * @param location Resource location
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location Resource location
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        public Builder properties(@Nullable Output properties) {
            $.properties = properties;
            return this;
        }

        public Builder properties(ConnectionGatewayDefinitionPropertiesArgs properties) {
            return properties(Output.of(properties));
        }

        /**
         * @param resourceGroupName The resource group
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

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

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(@Nullable Output subscriptionId) {
            $.subscriptionId = subscriptionId;
            return this;
        }

        /**
         * @param subscriptionId Subscription Id
         * 
         * @return builder
         * 
         */
        public Builder subscriptionId(String subscriptionId) {
            return subscriptionId(Output.of(subscriptionId));
        }

        /**
         * @param tags Resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy