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