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