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