# GPUInstanceLimits.Builder

Artifact: [androidx.webgpu:webgpu](https://developer.android.com/jetpack/androidx/releases/webgpu) [View Source](https://cs.android.com/search?q=file:androidx/webgpu/GPUInstanceLimits.kt+class:androidx.webgpu.GPUInstanceLimits.Builder) Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

*** ** * ** ***


```
public final class GPUInstanceLimits.Builder
```

<br />

*** ** * ** ***

Builder for `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits`.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits.Builder#Builder()()` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits` | `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits.Builder#build()()` Builds the `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits`. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits.Builder` | `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits.Builder#setTimedWaitAnyMaxCount(kotlin.Long)(long timedWaitAnyMaxCount)` |

## Public constructors

### Builder

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
public Builder()
```

## Public methods

### build

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
public final @NonNull GPUInstanceLimits build()
```

Builds the `https://developer.android.com/reference/androidx/webgpu/GPUInstanceLimits`.

### setTimedWaitAnyMaxCount

Added in [1.0.0-alpha06](https://developer.android.com/jetpack/androidx/releases/webgpu#1.0.0-alpha06)

```
public final @NonNull GPUInstanceLimits.Builder setTimedWaitAnyMaxCount(long timedWaitAnyMaxCount)
```