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

com.pulumi.azurenative.integrationspaces.ApplicationResourceArgs 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.integrationspaces;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ApplicationResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final ApplicationResourceArgs Empty = new ApplicationResourceArgs();

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

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

    /**
     * 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 Arm id of the application resource.
     * 
     */
    @Import(name="resourceId", required=true)
    private Output resourceId;

    /**
     * @return The Arm id of the application resource.
     * 
     */
    public Output resourceId() {
        return this.resourceId;
    }

    /**
     * The kind of the application resource.
     * 
     */
    @Import(name="resourceKind")
    private @Nullable Output resourceKind;

    /**
     * @return The kind of the application resource.
     * 
     */
    public Optional> resourceKind() {
        return Optional.ofNullable(this.resourceKind);
    }

    /**
     * The name of the application resource.
     * 
     */
    @Import(name="resourceName")
    private @Nullable Output resourceName;

    /**
     * @return The name of the application resource.
     * 
     */
    public Optional> resourceName() {
        return Optional.ofNullable(this.resourceName);
    }

    /**
     * The type of the application resource.
     * 
     */
    @Import(name="resourceType", required=true)
    private Output resourceType;

    /**
     * @return The type of the application resource.
     * 
     */
    public Output resourceType() {
        return this.resourceType;
    }

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

    private ApplicationResourceArgs(ApplicationResourceArgs $) {
        this.applicationName = $.applicationName;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceId = $.resourceId;
        this.resourceKind = $.resourceKind;
        this.resourceName = $.resourceName;
        this.resourceType = $.resourceType;
        this.spaceName = $.spaceName;
    }

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

    public static final class Builder {
        private ApplicationResourceArgs $;

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

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

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

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

        /**
         * @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 resourceId The Arm id of the application resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId The Arm id of the application resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        /**
         * @param resourceKind The kind of the application resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceKind(@Nullable Output resourceKind) {
            $.resourceKind = resourceKind;
            return this;
        }

        /**
         * @param resourceKind The kind of the application resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceKind(String resourceKind) {
            return resourceKind(Output.of(resourceKind));
        }

        /**
         * @param resourceName The name of the application resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceName(@Nullable Output resourceName) {
            $.resourceName = resourceName;
            return this;
        }

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

        /**
         * @param resourceType The type of the application resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceType(Output resourceType) {
            $.resourceType = resourceType;
            return this;
        }

        /**
         * @param resourceType The type of the application resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceType(String resourceType) {
            return resourceType(Output.of(resourceType));
        }

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy