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

com.pulumi.azurenative.network.LocalNetworkGatewayArgs 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.network;

import com.pulumi.azurenative.network.inputs.AddressSpaceArgs;
import com.pulumi.azurenative.network.inputs.BgpSettingsArgs;
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 LocalNetworkGatewayArgs extends com.pulumi.resources.ResourceArgs {

    public static final LocalNetworkGatewayArgs Empty = new LocalNetworkGatewayArgs();

    /**
     * Local network gateway's BGP speaker settings.
     * 
     */
    @Import(name="bgpSettings")
    private @Nullable Output bgpSettings;

    /**
     * @return Local network gateway's BGP speaker settings.
     * 
     */
    public Optional> bgpSettings() {
        return Optional.ofNullable(this.bgpSettings);
    }

    /**
     * FQDN of local network gateway.
     * 
     */
    @Import(name="fqdn")
    private @Nullable Output fqdn;

    /**
     * @return FQDN of local network gateway.
     * 
     */
    public Optional> fqdn() {
        return Optional.ofNullable(this.fqdn);
    }

    /**
     * IP address of local network gateway.
     * 
     */
    @Import(name="gatewayIpAddress")
    private @Nullable Output gatewayIpAddress;

    /**
     * @return IP address of local network gateway.
     * 
     */
    public Optional> gatewayIpAddress() {
        return Optional.ofNullable(this.gatewayIpAddress);
    }

    /**
     * Resource ID.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

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

    /**
     * Local network site address space.
     * 
     */
    @Import(name="localNetworkAddressSpace")
    private @Nullable Output localNetworkAddressSpace;

    /**
     * @return Local network site address space.
     * 
     */
    public Optional> localNetworkAddressSpace() {
        return Optional.ofNullable(this.localNetworkAddressSpace);
    }

    /**
     * The name of the local network gateway.
     * 
     */
    @Import(name="localNetworkGatewayName")
    private @Nullable Output localNetworkGatewayName;

    /**
     * @return The name of the local network gateway.
     * 
     */
    public Optional> localNetworkGatewayName() {
        return Optional.ofNullable(this.localNetworkGatewayName);
    }

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

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

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

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

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

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

    private LocalNetworkGatewayArgs() {}

    private LocalNetworkGatewayArgs(LocalNetworkGatewayArgs $) {
        this.bgpSettings = $.bgpSettings;
        this.fqdn = $.fqdn;
        this.gatewayIpAddress = $.gatewayIpAddress;
        this.id = $.id;
        this.localNetworkAddressSpace = $.localNetworkAddressSpace;
        this.localNetworkGatewayName = $.localNetworkGatewayName;
        this.location = $.location;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private LocalNetworkGatewayArgs $;

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

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

        /**
         * @param bgpSettings Local network gateway's BGP speaker settings.
         * 
         * @return builder
         * 
         */
        public Builder bgpSettings(@Nullable Output bgpSettings) {
            $.bgpSettings = bgpSettings;
            return this;
        }

        /**
         * @param bgpSettings Local network gateway's BGP speaker settings.
         * 
         * @return builder
         * 
         */
        public Builder bgpSettings(BgpSettingsArgs bgpSettings) {
            return bgpSettings(Output.of(bgpSettings));
        }

        /**
         * @param fqdn FQDN of local network gateway.
         * 
         * @return builder
         * 
         */
        public Builder fqdn(@Nullable Output fqdn) {
            $.fqdn = fqdn;
            return this;
        }

        /**
         * @param fqdn FQDN of local network gateway.
         * 
         * @return builder
         * 
         */
        public Builder fqdn(String fqdn) {
            return fqdn(Output.of(fqdn));
        }

        /**
         * @param gatewayIpAddress IP address of local network gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayIpAddress(@Nullable Output gatewayIpAddress) {
            $.gatewayIpAddress = gatewayIpAddress;
            return this;
        }

        /**
         * @param gatewayIpAddress IP address of local network gateway.
         * 
         * @return builder
         * 
         */
        public Builder gatewayIpAddress(String gatewayIpAddress) {
            return gatewayIpAddress(Output.of(gatewayIpAddress));
        }

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

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

        /**
         * @param localNetworkAddressSpace Local network site address space.
         * 
         * @return builder
         * 
         */
        public Builder localNetworkAddressSpace(@Nullable Output localNetworkAddressSpace) {
            $.localNetworkAddressSpace = localNetworkAddressSpace;
            return this;
        }

        /**
         * @param localNetworkAddressSpace Local network site address space.
         * 
         * @return builder
         * 
         */
        public Builder localNetworkAddressSpace(AddressSpaceArgs localNetworkAddressSpace) {
            return localNetworkAddressSpace(Output.of(localNetworkAddressSpace));
        }

        /**
         * @param localNetworkGatewayName The name of the local network gateway.
         * 
         * @return builder
         * 
         */
        public Builder localNetworkGatewayName(@Nullable Output localNetworkGatewayName) {
            $.localNetworkGatewayName = localNetworkGatewayName;
            return this;
        }

        /**
         * @param localNetworkGatewayName The name of the local network gateway.
         * 
         * @return builder
         * 
         */
        public Builder localNetworkGatewayName(String localNetworkGatewayName) {
            return localNetworkGatewayName(Output.of(localNetworkGatewayName));
        }

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

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

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

        /**
         * @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 LocalNetworkGatewayArgs build() {
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("LocalNetworkGatewayArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy