com.pulumi.azure.databricks.outputs.WorkspaceStorageAccountIdentity 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.databricks.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class WorkspaceStorageAccountIdentity {
/**
* @return The principal UUID for the internal databricks storage account needed to provide access to the workspace for enabling Customer Managed Keys.
*
*/
private @Nullable String principalId;
/**
* @return The UUID of the tenant where the internal databricks storage account was created.
*
*/
private @Nullable String tenantId;
/**
* @return The type of the internal databricks storage account.
*
*/
private @Nullable String type;
private WorkspaceStorageAccountIdentity() {}
/**
* @return The principal UUID for the internal databricks storage account needed to provide access to the workspace for enabling Customer Managed Keys.
*
*/
public Optional principalId() {
return Optional.ofNullable(this.principalId);
}
/**
* @return The UUID of the tenant where the internal databricks storage account was created.
*
*/
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
/**
* @return The type of the internal databricks storage account.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(WorkspaceStorageAccountIdentity defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String principalId;
private @Nullable String tenantId;
private @Nullable String type;
public Builder() {}
public Builder(WorkspaceStorageAccountIdentity defaults) {
Objects.requireNonNull(defaults);
this.principalId = defaults.principalId;
this.tenantId = defaults.tenantId;
this.type = defaults.type;
}
@CustomType.Setter
public Builder principalId(@Nullable String principalId) {
this.principalId = principalId;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public WorkspaceStorageAccountIdentity build() {
final var _resultValue = new WorkspaceStorageAccountIdentity();
_resultValue.principalId = principalId;
_resultValue.tenantId = tenantId;
_resultValue.type = type;
return _resultValue;
}
}
}