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

com.pulumi.azurenative.integrationspaces.inputs.GetInfrastructureResourceArgs Maven / Gradle / Ivy

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

    public static final GetInfrastructureResourceArgs Empty = new GetInfrastructureResourceArgs();

    /**
     * The name of the infrastructure resource in the space.
     * 
     */
    @Import(name="infrastructureResourceName", required=true)
    private Output infrastructureResourceName;

    /**
     * @return The name of the infrastructure resource in the space.
     * 
     */
    public Output infrastructureResourceName() {
        return this.infrastructureResourceName;
    }

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

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

    /**
     * The name of the space
     * 
     */
    @Import(name="spaceName", required=true)
    private Output spaceName;

    /**
     * @return The name of the space
     * 
     */
    public Output spaceName() {
        return this.spaceName;
    }

    private GetInfrastructureResourceArgs() {}

    private GetInfrastructureResourceArgs(GetInfrastructureResourceArgs $) {
        this.infrastructureResourceName = $.infrastructureResourceName;
        this.resourceGroupName = $.resourceGroupName;
        this.spaceName = $.spaceName;
    }

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

    public static final class Builder {
        private GetInfrastructureResourceArgs $;

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

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

        /**
         * @param infrastructureResourceName The name of the infrastructure resource in the space.
         * 
         * @return builder
         * 
         */
        public Builder infrastructureResourceName(Output infrastructureResourceName) {
            $.infrastructureResourceName = infrastructureResourceName;
            return this;
        }

        /**
         * @param infrastructureResourceName The name of the infrastructure resource in the space.
         * 
         * @return builder
         * 
         */
        public Builder infrastructureResourceName(String infrastructureResourceName) {
            return infrastructureResourceName(Output.of(infrastructureResourceName));
        }

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

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

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

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

        public GetInfrastructureResourceArgs build() {
            if ($.infrastructureResourceName == null) {
                throw new MissingRequiredPropertyException("GetInfrastructureResourceArgs", "infrastructureResourceName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetInfrastructureResourceArgs", "resourceGroupName");
            }
            if ($.spaceName == null) {
                throw new MissingRequiredPropertyException("GetInfrastructureResourceArgs", "spaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy