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

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

    public static final GetPrivateAccessArgs Empty = new GetPrivateAccessArgs();

    /**
     * The name of the private access resource that is being created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
     * 
     */
    @Import(name="privateAccessName", required=true)
    private Output privateAccessName;

    /**
     * @return The name of the private access resource that is being created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
     * 
     */
    public Output privateAccessName() {
        return this.privateAccessName;
    }

    /**
     * String that represents an Azure resource group.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return String that represents an Azure resource group.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    private GetPrivateAccessArgs() {}

    private GetPrivateAccessArgs(GetPrivateAccessArgs $) {
        this.privateAccessName = $.privateAccessName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetPrivateAccessArgs $;

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

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

        /**
         * @param privateAccessName The name of the private access resource that is being created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
         * 
         * @return builder
         * 
         */
        public Builder privateAccessName(Output privateAccessName) {
            $.privateAccessName = privateAccessName;
            return this;
        }

        /**
         * @param privateAccessName The name of the private access resource that is being created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters.
         * 
         * @return builder
         * 
         */
        public Builder privateAccessName(String privateAccessName) {
            return privateAccessName(Output.of(privateAccessName));
        }

        /**
         * @param resourceGroupName String that represents an Azure resource group.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

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

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy