Class LemurTaskResponse.Builder
- java.lang.Object
-
- com.assemblyai.api.resources.lemur.types.LemurTaskResponse.Builder
-
- All Implemented Interfaces:
LemurTaskResponse._FinalStage,LemurTaskResponse.RequestIdStage,LemurTaskResponse.ResponseStage
- Enclosing class:
- LemurTaskResponse
public static final class LemurTaskResponse.Builder extends java.lang.Object implements LemurTaskResponse.RequestIdStage, LemurTaskResponse.ResponseStage, LemurTaskResponse._FinalStage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LemurTaskResponsebuild()LemurTaskResponse.Builderfrom(LemurTaskResponse other)LemurTaskResponse.ResponseStagerequestId(java.lang.String requestId)The ID of the LeMUR requestLemurTaskResponse._FinalStageresponse(java.lang.String response)The response generated by LeMUR.
-
-
-
Method Detail
-
from
public LemurTaskResponse.Builder from(LemurTaskResponse other)
- Specified by:
fromin interfaceLemurTaskResponse.RequestIdStage
-
requestId
public LemurTaskResponse.ResponseStage requestId(java.lang.String requestId)
The ID of the LeMUR request
- Specified by:
requestIdin interfaceLemurTaskResponse.RequestIdStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
response
public LemurTaskResponse._FinalStage response(java.lang.String response)
The response generated by LeMUR.
- Specified by:
responsein interfaceLemurTaskResponse.ResponseStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
build
public LemurTaskResponse build()
- Specified by:
buildin interfaceLemurTaskResponse._FinalStage
-
-