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