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

com.pulumi.azurenative.network.inputs.GetNspLinkArgs 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.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 GetNspLinkArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetNspLinkArgs Empty = new GetNspLinkArgs();

    /**
     * The name of the NSP link.
     * 
     */
    @Import(name="linkName", required=true)
    private Output linkName;

    /**
     * @return The name of the NSP link.
     * 
     */
    public Output linkName() {
        return this.linkName;
    }

    /**
     * The name of the network security perimeter.
     * 
     */
    @Import(name="networkSecurityPerimeterName", required=true)
    private Output networkSecurityPerimeterName;

    /**
     * @return The name of the network security perimeter.
     * 
     */
    public Output networkSecurityPerimeterName() {
        return this.networkSecurityPerimeterName;
    }

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

    private GetNspLinkArgs() {}

    private GetNspLinkArgs(GetNspLinkArgs $) {
        this.linkName = $.linkName;
        this.networkSecurityPerimeterName = $.networkSecurityPerimeterName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetNspLinkArgs $;

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

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

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

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

        /**
         * @param networkSecurityPerimeterName The name of the network security perimeter.
         * 
         * @return builder
         * 
         */
        public Builder networkSecurityPerimeterName(Output networkSecurityPerimeterName) {
            $.networkSecurityPerimeterName = networkSecurityPerimeterName;
            return this;
        }

        /**
         * @param networkSecurityPerimeterName The name of the network security perimeter.
         * 
         * @return builder
         * 
         */
        public Builder networkSecurityPerimeterName(String networkSecurityPerimeterName) {
            return networkSecurityPerimeterName(Output.of(networkSecurityPerimeterName));
        }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy