Package com.documentum.fc.client.dcis.context

# Class ContextRequest.Builder

java.lang.Object
com.documentum.fc.client.dcis.context.ContextRequest.Builder

Enclosing class:
  ContextRequest

public static class ContextRequest.Builder extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Builder()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ContextRequest.Builder`
  `addMetadataFilter(Map<String,Object> filter)`
  Adds a simple metadata filter object to the list.
  `ContextRequest`
  `build()`
  `ContextRequest.Builder`
  `setNumResults(Integer numResults)`
  `ContextRequest.Builder`
  `setQuery(String query)`
  `ContextRequest.Builder`
  `setThreshold(Float threshold)`

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

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

- ## Constructor Details

  - ### Builder

    public Builder()

- ## Method Details

  - ### setQuery

    public ContextRequest.Builder setQuery(String query)

  - ### addMetadataFilter

    public ContextRequest.Builder addMetadataFilter(Map<String,Object> filter)
    Adds a simple metadata filter object to the list. Example: addMetadataFilter(Map.of("workspaceID", "123456789"))

  - ### setNumResults

    public ContextRequest.Builder setNumResults(Integer numResults)

  - ### setThreshold

    public ContextRequest.Builder setThreshold(Float threshold)

  - ### build

    public ContextRequest build()