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

com.pulumi.azure.desktopvirtualization.inputs.ApplicationGroupState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.

There is a newer version: 6.10.0-alpha.1731737215
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.azure.desktopvirtualization.inputs;

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


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

    public static final ApplicationGroupState Empty = new ApplicationGroupState();

    /**
     * Option to set the display name for the default sessionDesktop desktop when `type` is set to `Desktop`.
     * 
     */
    @Import(name="defaultDesktopDisplayName")
    private @Nullable Output defaultDesktopDisplayName;

    /**
     * @return Option to set the display name for the default sessionDesktop desktop when `type` is set to `Desktop`.
     * 
     */
    public Optional> defaultDesktopDisplayName() {
        return Optional.ofNullable(this.defaultDesktopDisplayName);
    }

    /**
     * Option to set a description for the Virtual Desktop Application Group.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Option to set a description for the Virtual Desktop Application Group.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * Option to set a friendly name for the Virtual Desktop Application Group.
     * 
     */
    @Import(name="friendlyName")
    private @Nullable Output friendlyName;

    /**
     * @return Option to set a friendly name for the Virtual Desktop Application Group.
     * 
     */
    public Optional> friendlyName() {
        return Optional.ofNullable(this.friendlyName);
    }

    /**
     * Resource ID for a Virtual Desktop Host Pool to associate with the Virtual Desktop Application Group. Changing the name forces a new resource to be created.
     * 
     */
    @Import(name="hostPoolId")
    private @Nullable Output hostPoolId;

    /**
     * @return Resource ID for a Virtual Desktop Host Pool to associate with the Virtual Desktop Application Group. Changing the name forces a new resource to be created.
     * 
     */
    public Optional> hostPoolId() {
        return Optional.ofNullable(this.hostPoolId);
    }

    /**
     * The location/region where the Virtual Desktop Application Group is located. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The location/region where the Virtual Desktop Application Group is located. Changing this forces a new resource to be created.
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * The name of the Virtual Desktop Application Group. Changing the name forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the Virtual Desktop Application Group. Changing the name forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the resource group in which to create the Virtual Desktop Application Group. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the resource group in which to create the Virtual Desktop Application Group. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * A mapping of tags to assign to the resource.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags to assign to the resource.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Type of Virtual Desktop Application Group. Valid options are `RemoteApp` or `Desktop` application groups. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return Type of Virtual Desktop Application Group. Valid options are `RemoteApp` or `Desktop` application groups. Changing this forces a new resource to be created.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    private ApplicationGroupState() {}

    private ApplicationGroupState(ApplicationGroupState $) {
        this.defaultDesktopDisplayName = $.defaultDesktopDisplayName;
        this.description = $.description;
        this.friendlyName = $.friendlyName;
        this.hostPoolId = $.hostPoolId;
        this.location = $.location;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
        this.type = $.type;
    }

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

    public static final class Builder {
        private ApplicationGroupState $;

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

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

        /**
         * @param defaultDesktopDisplayName Option to set the display name for the default sessionDesktop desktop when `type` is set to `Desktop`.
         * 
         * @return builder
         * 
         */
        public Builder defaultDesktopDisplayName(@Nullable Output defaultDesktopDisplayName) {
            $.defaultDesktopDisplayName = defaultDesktopDisplayName;
            return this;
        }

        /**
         * @param defaultDesktopDisplayName Option to set the display name for the default sessionDesktop desktop when `type` is set to `Desktop`.
         * 
         * @return builder
         * 
         */
        public Builder defaultDesktopDisplayName(String defaultDesktopDisplayName) {
            return defaultDesktopDisplayName(Output.of(defaultDesktopDisplayName));
        }

        /**
         * @param description Option to set a description for the Virtual Desktop Application Group.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Option to set a description for the Virtual Desktop Application Group.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param friendlyName Option to set a friendly name for the Virtual Desktop Application Group.
         * 
         * @return builder
         * 
         */
        public Builder friendlyName(@Nullable Output friendlyName) {
            $.friendlyName = friendlyName;
            return this;
        }

        /**
         * @param friendlyName Option to set a friendly name for the Virtual Desktop Application Group.
         * 
         * @return builder
         * 
         */
        public Builder friendlyName(String friendlyName) {
            return friendlyName(Output.of(friendlyName));
        }

        /**
         * @param hostPoolId Resource ID for a Virtual Desktop Host Pool to associate with the Virtual Desktop Application Group. Changing the name forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder hostPoolId(@Nullable Output hostPoolId) {
            $.hostPoolId = hostPoolId;
            return this;
        }

        /**
         * @param hostPoolId Resource ID for a Virtual Desktop Host Pool to associate with the Virtual Desktop Application Group. Changing the name forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder hostPoolId(String hostPoolId) {
            return hostPoolId(Output.of(hostPoolId));
        }

        /**
         * @param location The location/region where the Virtual Desktop Application Group is located. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The location/region where the Virtual Desktop Application Group is located. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param name The name of the Virtual Desktop Application Group. Changing the name forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the Virtual Desktop Application Group. Changing the name forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Virtual Desktop Application Group. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group in which to create the Virtual Desktop Application Group. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags A mapping of tags to assign to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags to assign to the resource.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param type Type of Virtual Desktop Application Group. Valid options are `RemoteApp` or `Desktop` application groups. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type Type of Virtual Desktop Application Group. Valid options are `RemoteApp` or `Desktop` application groups. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        public ApplicationGroupState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy