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