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

com.pulumi.azurenative.network.inputs.GetNspAssociationArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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 GetNspAssociationArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetNspAssociationArgs Empty = new GetNspAssociationArgs();

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

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

    /**
     * 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 GetNspAssociationArgs() {}

    private GetNspAssociationArgs(GetNspAssociationArgs $) {
        this.associationName = $.associationName;
        this.networkSecurityPerimeterName = $.networkSecurityPerimeterName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetNspAssociationArgs $;

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

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

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

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy