#include <DeviceDefender.h>
Represents a builder for creating a ReportTask object.
◆ ReportTaskBuilder() [1/2]
◆ ReportTaskBuilder() [2/2]
◆ Build()
std::shared_ptr< ReportTask > Aws::Iotdevicedefenderv1::ReportTaskBuilder::Build |
( |
| ) |
|
|
noexcept |
Builds a device defender v1 task object from the set options.
◆ WithNetworkConnectionSamplePeriodSeconds()
ReportTaskBuilder & Aws::Iotdevicedefenderv1::ReportTaskBuilder::WithNetworkConnectionSamplePeriodSeconds |
( |
uint32_t |
networkConnectionSamplePeriodSeconds | ) |
|
|
noexcept |
Sets the network connection sample period seconds. Defaults to 5 minutes.
◆ WithReportFormat()
Sets the device defender report format, or defaults to AWS_IDDRF_JSON.
◆ WithTaskCancellationUserData()
ReportTaskBuilder & Aws::Iotdevicedefenderv1::ReportTaskBuilder::WithTaskCancellationUserData |
( |
void * |
cancellationUserdata | ) |
|
|
noexcept |
Sets the user data for the task cancelled handler function.
◆ WithTaskCancelledHandler()
Sets the task cancelled handler function.
◆ WithTaskPeriodSeconds()
ReportTaskBuilder & Aws::Iotdevicedefenderv1::ReportTaskBuilder::WithTaskPeriodSeconds |
( |
uint32_t |
taskPeriodSeconds | ) |
|
|
noexcept |
Sets the task period seconds. Defaults to 5 minutes.
The documentation for this class was generated from the following files: