// *** 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 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<GetWorkspacePrivateEndpointConnectionConnection> 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<GetWorkspacePrivateEndpointConnectionConnection> 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<GetWorkspacePrivateEndpointConnectionConnection> 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<GetWorkspacePrivateEndpointConnectionConnection> connections) {
            this.connections = Objects.requireNonNull(connections);
            return this;
        }
        public Builder connections(GetWorkspacePrivateEndpointConnectionConnection... connections) {
            return connections(List.of(connections));
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder privateEndpointId(String privateEndpointId) {
            this.privateEndpointId = Objects.requireNonNull(privateEndpointId);
            return this;
        }
        @CustomType.Setter
        public Builder workspaceId(String workspaceId) {
            this.workspaceId = Objects.requireNonNull(workspaceId);
            return this;
        }
        public GetWorkspacePrivateEndpointConnectionResult build() {
            final var o = new GetWorkspacePrivateEndpointConnectionResult();
            o.connections = connections;
            o.id = id;
            o.privateEndpointId = privateEndpointId;
            o.workspaceId = workspaceId;
            return o;
        }
    }
}
