Class DocumentsDownloadFileResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.DocumentsDownloadFileResponse.Builder
-
- Enclosing class:
- DocumentsDownloadFileResponse
public static final class DocumentsDownloadFileResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentsDownloadFileResponse.Builderbody(byte[] body)DocumentsDownloadFileResponse.Builderbody(java.util.Optional<byte[]> body)DocumentsDownloadFileResponsebuild()DocumentsDownloadFileResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationDocumentsDownloadFileResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)DocumentsDownloadFileResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingDocumentsDownloadFileResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public DocumentsDownloadFileResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public DocumentsDownloadFileResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public DocumentsDownloadFileResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
body
public DocumentsDownloadFileResponse.Builder body(byte[] body)
-
body
public DocumentsDownloadFileResponse.Builder body(java.util.Optional<byte[]> body)
-
headers
public DocumentsDownloadFileResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public DocumentsDownloadFileResponse build()
-
-