PeriodicTimerSourceInfo Class
- java.
lang. Object - com.
azure. resourcemanager. databoxedge. models. PeriodicTimerSourceInfo
- com.
public final class PeriodicTimerSourceInfo
Periodic timer event source.
Constructor Summary
Constructor | Description |
---|---|
PeriodicTimerSourceInfo() |
Creates an instance of Periodic |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
schedule()
Get the schedule property: Periodic frequency at which timer event needs to be raised. |
Offset |
startTime()
Get the start |
String |
topic()
Get the topic property: Topic where periodic events are published to IoT device. |
void |
validate()
Validates the instance. |
Periodic |
withSchedule(String schedule)
Set the schedule property: Periodic frequency at which timer event needs to be raised. |
Periodic |
withStartTime(OffsetDateTime startTime)
Set the start |
Periodic |
withTopic(String topic)
Set the topic property: Topic where periodic events are published to IoT device. |
Methods inherited from java.lang.Object
Constructor Details
PeriodicTimerSourceInfo
public PeriodicTimerSourceInfo()
Creates an instance of PeriodicTimerSourceInfo class.
Method Details
schedule
public String schedule()
Get the schedule property: Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
Returns:
topic
public String topic()
Get the topic property: Topic where periodic events are published to IoT device.
Returns:
validate
public void validate()
Validates the instance.
withSchedule
public PeriodicTimerSourceInfo withSchedule(String schedule)
Set the schedule property: Periodic frequency at which timer event needs to be raised. Supports daily, hourly, minutes, and seconds.
Parameters:
Returns:
withStartTime
public PeriodicTimerSourceInfo withStartTime(OffsetDateTime startTime)
Set the startTime property: The time of the day that results in a valid trigger. Schedule is computed with reference to the time specified upto seconds. If timezone is not specified the time will considered to be in device timezone. The value will always be returned as UTC time.
Parameters:
Returns:
withTopic
public PeriodicTimerSourceInfo withTopic(String topic)
Set the topic property: Topic where periodic events are published to IoT device.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for