Class HrisListCostCenterGroupsRequestBuilder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.HrisListCostCenterGroupsRequestBuilder
-
public class HrisListCostCenterGroupsRequestBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HrisListCostCenterGroupsRequestBuilder(SDKConfiguration sdkConfiguration)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HrisListCostCenterGroupsResponsecall()java.lang.Iterable<HrisListCostCenterGroupsResponse>callAsIterable()Returns an iterable that performs next page calls till no more pages are returned.java.util.stream.Stream<HrisListCostCenterGroupsResponse>callAsStream()Returns a stream that performs next page calls till no more pages are returned.HrisListCostCenterGroupsRequestBuilderrequest(HrisListCostCenterGroupsRequest request)HrisListCostCenterGroupsRequestBuilderretryConfig(RetryConfig retryConfig)HrisListCostCenterGroupsRequestBuilderretryConfig(java.util.Optional<RetryConfig> retryConfig)
-
-
-
Constructor Detail
-
HrisListCostCenterGroupsRequestBuilder
public HrisListCostCenterGroupsRequestBuilder(SDKConfiguration sdkConfiguration)
-
-
Method Detail
-
request
public HrisListCostCenterGroupsRequestBuilder request(HrisListCostCenterGroupsRequest request)
-
retryConfig
public HrisListCostCenterGroupsRequestBuilder retryConfig(RetryConfig retryConfig)
-
retryConfig
public HrisListCostCenterGroupsRequestBuilder retryConfig(java.util.Optional<RetryConfig> retryConfig)
-
call
public HrisListCostCenterGroupsResponse call() throws java.lang.Exception
- Throws:
java.lang.Exception
-
callAsIterable
public java.lang.Iterable<HrisListCostCenterGroupsResponse> callAsIterable()
Returns an iterable that performs next page calls till no more pages are returned.The returned iterable can be used in a for-each loop:
for (HrisListCostCenterGroupsResponse page : builder.callAsIterable()) { // Process each page }- Returns:
- An iterable that can be used to iterate through all pages
-
callAsStream
public java.util.stream.Stream<HrisListCostCenterGroupsResponse> callAsStream()
Returns a stream that performs next page calls till no more pages are returned.
-
-