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