MqttC2DMessagesNotInAllowedRange Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. CustomAlertRule - com.
azure. resourcemanager. security. models. ThresholdCustomAlertRule - com.
azure. resourcemanager. security. models. TimeWindowCustomAlertRule - com.
azure. resourcemanager. security. models. MqttC2DMessagesNotInAllowedRange
- com.
- com.
- com.
- com.
public final class MqttC2DMessagesNotInAllowedRange
extends TimeWindowCustomAlertRule
Number of cloud to device messages (MQTT protocol) is not in allowed range.
Constructor Summary
Constructor | Description |
---|---|
MqttC2DMessagesNotInAllowedRange() |
Creates an instance of MqttC2DMessages |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the instance. |
MqttC2DMessages |
withIsEnabled(boolean isEnabled)
Set the is |
MqttC2DMessages |
withMaxThreshold(int maxThreshold)
Set the max |
MqttC2DMessages |
withMinThreshold(int minThreshold)
Set the min |
MqttC2DMessages |
withTimeWindowSize(Duration timeWindowSize)
Set the time |
Methods inherited from CustomAlertRule
Methods inherited from ThresholdCustomAlertRule
Methods inherited from TimeWindowCustomAlertRule
Methods inherited from java.lang.Object
Constructor Details
MqttC2DMessagesNotInAllowedRange
public MqttC2DMessagesNotInAllowedRange()
Creates an instance of MqttC2DMessagesNotInAllowedRange class.
Method Details
validate
public void validate()
Validates the instance.
Overrides:
MqttC2DMessagesNotInAllowedRange.validate()withIsEnabled
public MqttC2DMessagesNotInAllowedRange withIsEnabled(boolean isEnabled)
Set the isEnabled property: Status of the custom alert.
Overrides:
MqttC2DMessagesNotInAllowedRange.withIsEnabled(boolean isEnabled)Parameters:
withMaxThreshold
public MqttC2DMessagesNotInAllowedRange withMaxThreshold(int maxThreshold)
Set the maxThreshold property: The maximum threshold.
Overrides:
MqttC2DMessagesNotInAllowedRange.withMaxThreshold(int maxThreshold)Parameters:
withMinThreshold
public MqttC2DMessagesNotInAllowedRange withMinThreshold(int minThreshold)
Set the minThreshold property: The minimum threshold.
Overrides:
MqttC2DMessagesNotInAllowedRange.withMinThreshold(int minThreshold)Parameters:
withTimeWindowSize
public MqttC2DMessagesNotInAllowedRange withTimeWindowSize(Duration timeWindowSize)
Set the timeWindowSize property: The time window size in iso8601 format.
Overrides:
MqttC2DMessagesNotInAllowedRange.withTimeWindowSize(Duration timeWindowSize)Parameters:
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