Class HrisGetTaskResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.HrisGetTaskResponse.Builder
-
- Enclosing class:
- HrisGetTaskResponse
public static final class HrisGetTaskResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HrisGetTaskResponsebuild()HrisGetTaskResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationHrisGetTaskResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisGetTaskResponse.BuilderrawResponse(java.net.http.HttpResponse<Blob> rawResponse)Raw HTTP response; suitable for custom response parsingHrisGetTaskResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operationHrisGetTaskResponse.BuildertaskResult(TaskResult taskResult)The task with the given identifier was retrieved.HrisGetTaskResponse.BuildertaskResult(java.util.Optional<? extends TaskResult> taskResult)The task with the given identifier was retrieved.
-
-
-
Method Detail
-
contentType
public HrisGetTaskResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public HrisGetTaskResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public HrisGetTaskResponse.Builder rawResponse(java.net.http.HttpResponse<Blob> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
taskResult
public HrisGetTaskResponse.Builder taskResult(TaskResult taskResult)
The task with the given identifier was retrieved.
-
taskResult
public HrisGetTaskResponse.Builder taskResult(java.util.Optional<? extends TaskResult> taskResult)
The task with the given identifier was retrieved.
-
headers
public HrisGetTaskResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public HrisGetTaskResponse build()
-
-