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 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.BuilderresponseStream(java.io.InputStream responseStream)The file with the given identifiers was retrieved.DocumentsDownloadFileResponse.BuilderresponseStream(java.util.Optional<? extends java.io.InputStream> responseStream)The file with the given identifiers was retrieved.DocumentsDownloadFileResponse.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
-
responseStream
public DocumentsDownloadFileResponse.Builder responseStream(java.io.InputStream responseStream)
The file with the given identifiers was retrieved.
-
responseStream
public DocumentsDownloadFileResponse.Builder responseStream(java.util.Optional<? extends java.io.InputStream> responseStream)
The file with the given identifiers was retrieved.
-
headers
public DocumentsDownloadFileResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public DocumentsDownloadFileResponse build()
-
-