com.pulumi.azure.databricks.outputs.GetWorkspacePrivateEndpointConnectionResult 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.databricks.outputs;
import com.pulumi.azure.databricks.outputs.GetWorkspacePrivateEndpointConnectionConnection;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetWorkspacePrivateEndpointConnectionResult {
/**
* @return A `connections` block as documented below.
*
*/
private List connections;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return The resource ID of the Private Endpoint.
*
*/
private String privateEndpointId;
/**
* @return The resource ID of the Databricks Workspace.
*
*/
private String workspaceId;
private GetWorkspacePrivateEndpointConnectionResult() {}
/**
* @return A `connections` block as documented below.
*
*/
public List connections() {
return this.connections;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return The resource ID of the Private Endpoint.
*
*/
public String privateEndpointId() {
return this.privateEndpointId;
}
/**
* @return The resource ID of the Databricks Workspace.
*
*/
public String workspaceId() {
return this.workspaceId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetWorkspacePrivateEndpointConnectionResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List connections;
private String id;
private String privateEndpointId;
private String workspaceId;
public Builder() {}
public Builder(GetWorkspacePrivateEndpointConnectionResult defaults) {
Objects.requireNonNull(defaults);
this.connections = defaults.connections;
this.id = defaults.id;
this.privateEndpointId = defaults.privateEndpointId;
this.workspaceId = defaults.workspaceId;
}
@CustomType.Setter
public Builder connections(List connections) {
if (connections == null) {
throw new MissingRequiredPropertyException("GetWorkspacePrivateEndpointConnectionResult", "connections");
}
this.connections = connections;
return this;
}
public Builder connections(GetWorkspacePrivateEndpointConnectionConnection... connections) {
return connections(List.of(connections));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetWorkspacePrivateEndpointConnectionResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder privateEndpointId(String privateEndpointId) {
if (privateEndpointId == null) {
throw new MissingRequiredPropertyException("GetWorkspacePrivateEndpointConnectionResult", "privateEndpointId");
}
this.privateEndpointId = privateEndpointId;
return this;
}
@CustomType.Setter
public Builder workspaceId(String workspaceId) {
if (workspaceId == null) {
throw new MissingRequiredPropertyException("GetWorkspacePrivateEndpointConnectionResult", "workspaceId");
}
this.workspaceId = workspaceId;
return this;
}
public GetWorkspacePrivateEndpointConnectionResult build() {
final var _resultValue = new GetWorkspacePrivateEndpointConnectionResult();
_resultValue.connections = connections;
_resultValue.id = id;
_resultValue.privateEndpointId = privateEndpointId;
_resultValue.workspaceId = workspaceId;
return _resultValue;
}
}
}