com.pulumi.azure.desktopvirtualization.WorkspaceApplicationGroupAssociationArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
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.
// *** 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;
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 WorkspaceApplicationGroupAssociationArgs extends com.pulumi.resources.ResourceArgs {
public static final WorkspaceApplicationGroupAssociationArgs Empty = new WorkspaceApplicationGroupAssociationArgs();
/**
* The resource ID for the Virtual Desktop Application Group. Changing this forces a new resource to be created.
*
*/
@Import(name="applicationGroupId", required=true)
private Output applicationGroupId;
/**
* @return The resource ID for the Virtual Desktop Application Group. Changing this forces a new resource to be created.
*
*/
public Output applicationGroupId() {
return this.applicationGroupId;
}
/**
* The resource ID for the Virtual Desktop Workspace. Changing this forces a new resource to be created.
*
*/
@Import(name="workspaceId", required=true)
private Output workspaceId;
/**
* @return The resource ID for the Virtual Desktop Workspace. Changing this forces a new resource to be created.
*
*/
public Output workspaceId() {
return this.workspaceId;
}
private WorkspaceApplicationGroupAssociationArgs() {}
private WorkspaceApplicationGroupAssociationArgs(WorkspaceApplicationGroupAssociationArgs $) {
this.applicationGroupId = $.applicationGroupId;
this.workspaceId = $.workspaceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkspaceApplicationGroupAssociationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WorkspaceApplicationGroupAssociationArgs $;
public Builder() {
$ = new WorkspaceApplicationGroupAssociationArgs();
}
public Builder(WorkspaceApplicationGroupAssociationArgs defaults) {
$ = new WorkspaceApplicationGroupAssociationArgs(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(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(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 WorkspaceApplicationGroupAssociationArgs build() {
if ($.applicationGroupId == null) {
throw new MissingRequiredPropertyException("WorkspaceApplicationGroupAssociationArgs", "applicationGroupId");
}
if ($.workspaceId == null) {
throw new MissingRequiredPropertyException("WorkspaceApplicationGroupAssociationArgs", "workspaceId");
}
return $;
}
}
}