Class LmsListCompletionsRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.LmsListCompletionsRequestBuilder
-
public class LmsListCompletionsRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LmsListCompletionsRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<LmsListCompletionsResponse>call()org.reactivestreams.Publisher<LmsListCompletionsResponse>callAsPublisher()Returns a Publisher that performs next page calls till no more pages are returned.LmsListCompletionsRequestBuilderrequest(LmsListCompletionsRequest request)LmsListCompletionsRequestBuilderretryConfig(RetryConfig retryConfig)LmsListCompletionsRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
LmsListCompletionsRequestBuilder
public LmsListCompletionsRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public LmsListCompletionsRequestBuilder request(LmsListCompletionsRequest request)
-
retryConfig
public LmsListCompletionsRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public LmsListCompletionsRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public java.util.concurrent.CompletableFuture<LmsListCompletionsResponse> call()
-
callAsPublisher
public org.reactivestreams.Publisher<LmsListCompletionsResponse> 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<LmsListCompletionsResponse> publisher = builder.callAsPublisher(); publisher.subscribe(new Subscriber<LmsListCompletionsResponse>() { // Handle onNext, onError, onComplete });- Returns:
- A Publisher that emits pages asynchronously
-
-