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