com.pulumi.azure.synapse.WorkspaceSqlAadAdminArgs 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.synapse;
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 WorkspaceSqlAadAdminArgs extends com.pulumi.resources.ResourceArgs {
public static final WorkspaceSqlAadAdminArgs Empty = new WorkspaceSqlAadAdminArgs();
/**
* The login name of the Azure AD Administrator of this Synapse Workspace.
*
*/
@Import(name="login", required=true)
private Output login;
/**
* @return The login name of the Azure AD Administrator of this Synapse Workspace.
*
*/
public Output login() {
return this.login;
}
/**
* The object id of the Azure AD Administrator of this Synapse Workspace.
*
*/
@Import(name="objectId", required=true)
private Output objectId;
/**
* @return The object id of the Azure AD Administrator of this Synapse Workspace.
*
*/
public Output objectId() {
return this.objectId;
}
/**
* The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
*
*/
@Import(name="synapseWorkspaceId", required=true)
private Output synapseWorkspaceId;
/**
* @return The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
*
*/
public Output synapseWorkspaceId() {
return this.synapseWorkspaceId;
}
/**
* The tenant id of the Azure AD Administrator of this Synapse Workspace.
*
*/
@Import(name="tenantId", required=true)
private Output tenantId;
/**
* @return The tenant id of the Azure AD Administrator of this Synapse Workspace.
*
*/
public Output tenantId() {
return this.tenantId;
}
private WorkspaceSqlAadAdminArgs() {}
private WorkspaceSqlAadAdminArgs(WorkspaceSqlAadAdminArgs $) {
this.login = $.login;
this.objectId = $.objectId;
this.synapseWorkspaceId = $.synapseWorkspaceId;
this.tenantId = $.tenantId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkspaceSqlAadAdminArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private WorkspaceSqlAadAdminArgs $;
public Builder() {
$ = new WorkspaceSqlAadAdminArgs();
}
public Builder(WorkspaceSqlAadAdminArgs defaults) {
$ = new WorkspaceSqlAadAdminArgs(Objects.requireNonNull(defaults));
}
/**
* @param login The login name of the Azure AD Administrator of this Synapse Workspace.
*
* @return builder
*
*/
public Builder login(Output login) {
$.login = login;
return this;
}
/**
* @param login The login name of the Azure AD Administrator of this Synapse Workspace.
*
* @return builder
*
*/
public Builder login(String login) {
return login(Output.of(login));
}
/**
* @param objectId The object id of the Azure AD Administrator of this Synapse Workspace.
*
* @return builder
*
*/
public Builder objectId(Output objectId) {
$.objectId = objectId;
return this;
}
/**
* @param objectId The object id of the Azure AD Administrator of this Synapse Workspace.
*
* @return builder
*
*/
public Builder objectId(String objectId) {
return objectId(Output.of(objectId));
}
/**
* @param synapseWorkspaceId The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
*
* @return builder
*
*/
public Builder synapseWorkspaceId(Output synapseWorkspaceId) {
$.synapseWorkspaceId = synapseWorkspaceId;
return this;
}
/**
* @param synapseWorkspaceId The ID of the Synapse Workspace where the Azure AD Administrator should be configured.
*
* @return builder
*
*/
public Builder synapseWorkspaceId(String synapseWorkspaceId) {
return synapseWorkspaceId(Output.of(synapseWorkspaceId));
}
/**
* @param tenantId The tenant id of the Azure AD Administrator of this Synapse Workspace.
*
* @return builder
*
*/
public Builder tenantId(Output tenantId) {
$.tenantId = tenantId;
return this;
}
/**
* @param tenantId The tenant id of the Azure AD Administrator of this Synapse Workspace.
*
* @return builder
*
*/
public Builder tenantId(String tenantId) {
return tenantId(Output.of(tenantId));
}
public WorkspaceSqlAadAdminArgs build() {
if ($.login == null) {
throw new MissingRequiredPropertyException("WorkspaceSqlAadAdminArgs", "login");
}
if ($.objectId == null) {
throw new MissingRequiredPropertyException("WorkspaceSqlAadAdminArgs", "objectId");
}
if ($.synapseWorkspaceId == null) {
throw new MissingRequiredPropertyException("WorkspaceSqlAadAdminArgs", "synapseWorkspaceId");
}
if ($.tenantId == null) {
throw new MissingRequiredPropertyException("WorkspaceSqlAadAdminArgs", "tenantId");
}
return $;
}
}
}