public class ReadAllRequestExecutor extends PaginatedRequestExecutor<Configs>
ConfigsApi. Use this class if you want to obtain
READ_ALL encrypted commands through fluent API in chained fashion. Here is an example of how to use this executor:
KontaktCloud kontaktCloud = KontaktCloudFactory.create();
Configs configs = kontaktCloud.configs().readAll()
.withIds("7HuT", "2Fge", "dFGh")
.maxResult(10)
.execute();
| Constructor and Description |
|---|
ReadAllRequestExecutor(ConfigsService configsService)
Constructs request executor initialized with corresponding service class.
|
| Modifier and Type | Method and Description |
|---|---|
ReadAllRequestExecutor |
eTag(java.lang.String eTag)
Specifies HTTP entity tag purposed for caching REST API calls.
|
ReadAllRequestExecutor |
filter(java.lang.String query)
Specifies the filter for requested data.
|
ReadAllRequestExecutor |
maxResult(int maxResult)
Specifies the maximum size of response data collection.
|
ReadAllRequestExecutor |
orderBy(OrderBy orderBy,
Order order)
Specifies the ordering of response data elements.
|
ReadAllRequestExecutor |
startIndex(int startIndex)
Specifies the start index of requested data.
|
ReadAllRequestExecutor |
withIds(java.util.List<java.lang.String> uniqueIds)
Specifies config unique IDs.
|
ReadAllRequestExecutor |
withIds(java.lang.String... uniqueIds)
Specifies config unique IDs.
|
execute, executepublic ReadAllRequestExecutor(ConfigsService configsService)
configsService - the configs API service.public ReadAllRequestExecutor withIds(java.lang.String... uniqueIds)
uniqueIds - config unique identifiers.public ReadAllRequestExecutor withIds(java.util.List<java.lang.String> uniqueIds)
uniqueIds - config unique identifiers.public ReadAllRequestExecutor startIndex(int startIndex)
startIndex in class PaginatedRequestExecutor<Configs>startIndex - the start index.public ReadAllRequestExecutor maxResult(int maxResult)
maxResult in class PaginatedRequestExecutor<Configs>maxResult - the maximum response size value.public ReadAllRequestExecutor filter(java.lang.String query)
filter in class PaginatedRequestExecutor<Configs>query - the query filter.public ReadAllRequestExecutor orderBy(OrderBy orderBy, Order order)
orderBy in class PaginatedRequestExecutor<Configs>orderBy - the field type that specifies the order by column.order - ascending or descending.public ReadAllRequestExecutor eTag(java.lang.String eTag)
eTag in class PaginatedRequestExecutor<Configs>eTag - the entity tag value.