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

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

The 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 GetApplicationSecurityGroupArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetApplicationSecurityGroupArgs Empty = new GetApplicationSecurityGroupArgs();

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

    /**
     * @return The name of the application security group.
     * 
     */
    public Output applicationSecurityGroupName() {
        return this.applicationSecurityGroupName;
    }

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

    private GetApplicationSecurityGroupArgs(GetApplicationSecurityGroupArgs $) {
        this.applicationSecurityGroupName = $.applicationSecurityGroupName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetApplicationSecurityGroupArgs $;

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

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy