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