Package com.castlabs.sdk.downloader.network

# Class RequestModifierFilter.Builder

java.lang.Object
com.castlabs.sdk.downloader.network.RequestModifierFilter.Builder

Enclosing class:
  `RequestModifierFilter`

public static final class RequestModifierFilter.Builder extends Object
Builder for `RequestModifierFilter` instances.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RequestModifierFilter`
  `build()`
  Builds the filter.
  `RequestModifierFilter.Builder`
  `downloadId(String downloadId)`
  Restricts the filter to a specific download id.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### downloadId

    @NonNull public RequestModifierFilter.Builder downloadId(@NonNull String downloadId)
    Restricts the filter to a specific download id.
    Parameters:
      `downloadId` - Identifier that must match the request tag
    Returns:
      This builder for chaining

  - ### build

    @NonNull public RequestModifierFilter build()
    Builds the filter.
    Returns:
      Configured filter instance