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