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