AmqpC2DRejectedMessagesNotInAllowedRange 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. AmqpC2DRejectedMessagesNotInAllowedRange
- com.
- com.
- com.
- com.
public final class AmqpC2DRejectedMessagesNotInAllowedRange
extends TimeWindowCustomAlertRule
Number of rejected cloud to device messages (AMQP protocol) is not in allowed range.
Constructor Summary
Constructor | Description |
---|---|
AmqpC2DRejectedMessagesNotInAllowedRange() |
Creates an instance of AmqpC2DRejected |
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
validate()
Validates the instance. |
AmqpC2DRejected |
withIsEnabled(boolean isEnabled)
Set the is |
AmqpC2DRejected |
withMaxThreshold(int maxThreshold)
Set the max |
AmqpC2DRejected |
withMinThreshold(int minThreshold)
Set the min |
AmqpC2DRejected |
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
AmqpC2DRejectedMessagesNotInAllowedRange
public AmqpC2DRejectedMessagesNotInAllowedRange()
Creates an instance of AmqpC2DRejectedMessagesNotInAllowedRange class.
Method Details
validate
public void validate()
Validates the instance.
Overrides:
AmqpC2DRejectedMessagesNotInAllowedRange.validate()withIsEnabled
public AmqpC2DRejectedMessagesNotInAllowedRange withIsEnabled(boolean isEnabled)
Set the isEnabled property: Status of the custom alert.
Overrides:
AmqpC2DRejectedMessagesNotInAllowedRange.withIsEnabled(boolean isEnabled)Parameters:
withMaxThreshold
public AmqpC2DRejectedMessagesNotInAllowedRange withMaxThreshold(int maxThreshold)
Set the maxThreshold property: The maximum threshold.
Overrides:
AmqpC2DRejectedMessagesNotInAllowedRange.withMaxThreshold(int maxThreshold)Parameters:
withMinThreshold
public AmqpC2DRejectedMessagesNotInAllowedRange withMinThreshold(int minThreshold)
Set the minThreshold property: The minimum threshold.
Overrides:
AmqpC2DRejectedMessagesNotInAllowedRange.withMinThreshold(int minThreshold)Parameters:
withTimeWindowSize
public AmqpC2DRejectedMessagesNotInAllowedRange withTimeWindowSize(Duration timeWindowSize)
Set the timeWindowSize property: The time window size in iso8601 format.
Overrides:
AmqpC2DRejectedMessagesNotInAllowedRange.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