Class DocumentsListDrivesRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.DocumentsListDrivesRequestBuilder
-
public class DocumentsListDrivesRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DocumentsListDrivesRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<DocumentsListDrivesResponse>call()org.reactivestreams.Publisher<DocumentsListDrivesResponse>callAsPublisher()Returns a Publisher that performs next page calls till no more pages are returned.DocumentsListDrivesRequestBuilderrequest(DocumentsListDrivesRequest request)DocumentsListDrivesRequestBuilderretryConfig(RetryConfig retryConfig)DocumentsListDrivesRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
DocumentsListDrivesRequestBuilder
public DocumentsListDrivesRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public DocumentsListDrivesRequestBuilder request(DocumentsListDrivesRequest request)
-
retryConfig
public DocumentsListDrivesRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public DocumentsListDrivesRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public java.util.concurrent.CompletableFuture<DocumentsListDrivesResponse> call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsPublisher
public org.reactivestreams.Publisher<DocumentsListDrivesResponse> callAsPublisher()
Returns a Publisher that performs next page calls till no more pages are returned.The returned publisher can be used with reactive frameworks:
Publisher<DocumentsListDrivesResponse> publisher = builder.callAsPublisher(); publisher.subscribe(new Subscriber<DocumentsListDrivesResponse>() { // Handle onNext, onError, onComplete });- Returns:
- A Publisher that emits pages asynchronously
-
-