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