Package com.castlabs.sdk.downloader.network

# Class ResponseModifierFilter.Builder

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

Enclosing class:
  `ResponseModifierFilter`

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ResponseModifierFilter`
  `build()`
  Builds the filter.
  `ResponseModifierFilter.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 ResponseModifierFilter.Builder downloadId(@NonNull String downloadId)
    Restricts the filter to a specific download id.
    Parameters:
      `downloadId` - Identifier that must match the response tag
    Returns:
      This builder for chaining

  - ### build

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