Class DocumentsGetDriveResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.DocumentsGetDriveResponse.Builder
-
- Enclosing class:
- DocumentsGetDriveResponse
public static final class DocumentsGetDriveResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentsGetDriveResponsebuild()DocumentsGetDriveResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationDocumentsGetDriveResponse.BuilderdriveResult(DriveResult driveResult)The drive with the given identifier was retrieved.DocumentsGetDriveResponse.BuilderdriveResult(java.util.Optional<? extends DriveResult> driveResult)The drive with the given identifier was retrieved.DocumentsGetDriveResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)DocumentsGetDriveResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingDocumentsGetDriveResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public DocumentsGetDriveResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public DocumentsGetDriveResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public DocumentsGetDriveResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
driveResult
public DocumentsGetDriveResponse.Builder driveResult(DriveResult driveResult)
The drive with the given identifier was retrieved.
-
driveResult
public DocumentsGetDriveResponse.Builder driveResult(java.util.Optional<? extends DriveResult> driveResult)
The drive with the given identifier was retrieved.
-
headers
public DocumentsGetDriveResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public DocumentsGetDriveResponse build()
-
-