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

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

// *** 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.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final WorkspaceApplicationGroupAssociationState Empty = new WorkspaceApplicationGroupAssociationState();

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

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

    /**
     * The resource ID for the Virtual Desktop Workspace. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="workspaceId")
    private @Nullable Output workspaceId;

    /**
     * @return The resource ID for the Virtual Desktop Workspace. Changing this forces a new resource to be created.
     * 
     */
    public Optional> workspaceId() {
        return Optional.ofNullable(this.workspaceId);
    }

    private WorkspaceApplicationGroupAssociationState() {}

    private WorkspaceApplicationGroupAssociationState(WorkspaceApplicationGroupAssociationState $) {
        this.applicationGroupId = $.applicationGroupId;
        this.workspaceId = $.workspaceId;
    }

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

    public static final class Builder {
        private WorkspaceApplicationGroupAssociationState $;

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

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

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

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

        /**
         * @param workspaceId The resource ID for the Virtual Desktop Workspace. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder workspaceId(@Nullable Output workspaceId) {
            $.workspaceId = workspaceId;
            return this;
        }

        /**
         * @param workspaceId The resource ID for the Virtual Desktop Workspace. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder workspaceId(String workspaceId) {
            return workspaceId(Output.of(workspaceId));
        }

        public WorkspaceApplicationGroupAssociationState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy