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