Class AtsListListsRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.AtsListListsRequestBuilder
-
public class AtsListListsRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AtsListListsRequestBuilder(SDKMethodInterfaces.MethodCallAtsListLists sdk)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtsListListsResponsecall()java.util.stream.Stream<AtsListListsResponse>callAsStream()Returns a stream that performs next page calls till no more pages are returned.AtsListListsRequestBuilderrequest(AtsListListsRequest request)AtsListListsRequestBuilderretryConfig(RetryConfig retryConfig)AtsListListsRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
AtsListListsRequestBuilder
public AtsListListsRequestBuilder(SDKMethodInterfaces.MethodCallAtsListLists sdk)
-
-
Method Detail
-
request
public AtsListListsRequestBuilder request(AtsListListsRequest request)
-
retryConfig
public AtsListListsRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public AtsListListsRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public AtsListListsResponse call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsStream
public java.util.stream.Stream<AtsListListsResponse> callAsStream()
Returns a stream that performs next page calls till no more pages are returned. Unlike thecall()method this method will throw anSDKErrorif any page retrieval has an HTTP status code >= 300 (Note that 3XX is not an error range but will need special handling by the user if for example the HTTP client is not configured to follow redirects).
-
-