public class PresetsRequestExecutor extends PaginatedRequestExecutor<Presets>
PresetsApi. Use this class if you want to fetch
single preset through fluent API in chained fashion, for example:
KontaktCloud kontaktCloud = KontaktCloudFactory.create();
kontaktCloud.presets().fetch().execute();
| Constructor and Description |
|---|
PresetsRequestExecutor(PresetsService presetsService)
Constructs request executor initialized with corresponding service class.
|
| Modifier and Type | Method and Description |
|---|---|
PresetsRequestExecutor |
eTag(java.lang.String eTag)
Specifies HTTP entity tag purposed for caching REST API calls.
|
PresetsRequestExecutor |
filter(java.lang.String query)
Specifies the filter for requested data.
|
PresetsRequestExecutor |
maxResult(int maxResult)
Specifies the maximum size of response data collection.
|
PresetsRequestExecutor |
orderBy(OrderBy orderBy,
Order order)
Specifies the ordering of response data elements.
|
PresetsRequestExecutor |
startIndex(int startIndex)
Specifies the start index of requested data.
|
execute, executepublic PresetsRequestExecutor(PresetsService presetsService)
presetsService - the presets API service.public PresetsRequestExecutor startIndex(int startIndex)
startIndex in class PaginatedRequestExecutor<Presets>startIndex - the start index.public PresetsRequestExecutor maxResult(int maxResult)
maxResult in class PaginatedRequestExecutor<Presets>maxResult - the maximum response size value.public PresetsRequestExecutor filter(java.lang.String query)
filter in class PaginatedRequestExecutor<Presets>query - the query filter.public PresetsRequestExecutor orderBy(OrderBy orderBy, Order order)
orderBy in class PaginatedRequestExecutor<Presets>orderBy - the field type that specifies the order by column.order - ascending or descending.public PresetsRequestExecutor eTag(java.lang.String eTag)
eTag in class PaginatedRequestExecutor<Presets>eTag - the entity tag value.