public class ApplySecureConfigRequestExecutor extends RequestExecutor<Configs>
DevicesApi
. Use this class if you want to apply
secure configs through fluent API in chained fashion. Example of use:
KontaktCloud kontaktCloud = KontaktCloudFactory.create();
// define secure configs
kontaktCloud.devices().applySecureConfigs(secureConfigs).execute();
Note that every config object passed to applySecureConfigs
method should contain
non-null unique ID and secure response with timestamp. Otherwise an exception will be thrown at runtime.Constructor and Description |
---|
ApplySecureConfigRequestExecutor(DevicesService devicesService,
Config... configs)
Constructs request executor initialized with corresponding service class and configs to apply.
|
ApplySecureConfigRequestExecutor(DevicesService devicesService,
java.util.List<Config> configs)
Constructs request executor initialized with corresponding service class and configs to apply.
|
execute, execute
public ApplySecureConfigRequestExecutor(DevicesService devicesService, Config... configs)
devicesService
- the devices API service.configs
- secure configs to apply.public ApplySecureConfigRequestExecutor(DevicesService devicesService, java.util.List<Config> configs)
devicesService
- the devices API service.configs
- secure configs to apply.