Interface ResponseConfiguration.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResponseConfiguration.Builder,ResponseConfiguration>, SdkBuilder<ResponseConfiguration.Builder,ResponseConfiguration>, SdkPojo
Enclosing class:
ResponseConfiguration

@Mutable @NotThreadSafe public static interface ResponseConfiguration.Builder extends SdkPojo, CopyableBuilder<ResponseConfiguration.Builder,ResponseConfiguration>
  • Method Details

    • resultPath

      ResponseConfiguration.Builder resultPath(String resultPath)

      The JSON path expression that identifies where the actual result data is located within the API response.

      Parameters:
      resultPath - The JSON path expression that identifies where the actual result data is located within the API response.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorPath

      ResponseConfiguration.Builder errorPath(String errorPath)

      The JSON path expression that identifies where error information is located within API responses when requests fail.

      Parameters:
      errorPath - The JSON path expression that identifies where error information is located within API responses when requests fail.
      Returns:
      Returns a reference to this object so that method calls can be chained together.