Class ApplicationInsightsComponentDataVolumeCap
- java.lang.Object
-
- com.azure.resourcemanager.applicationinsights.models.ApplicationInsightsComponentDataVolumeCap
-
public final class ApplicationInsightsComponentDataVolumeCap extends Object
An Application Insights component daily data volume cap.
-
-
Constructor Summary
Constructors Constructor Description ApplicationInsightsComponentDataVolumeCap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Float
cap()
Get the cap property: Daily data volume cap in GB.Float
maxHistoryCap()
Get the maxHistoryCap property: Maximum daily data volume cap that the user can set for this component.Integer
resetTime()
Get the resetTime property: Daily data volume cap UTC reset hour.Boolean
stopSendNotificationWhenHitCap()
Get the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.Boolean
stopSendNotificationWhenHitThreshold()
Get the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.void
validate()
Validates the instance.Integer
warningThreshold()
Get the warningThreshold property: Reserved, not used for now.ApplicationInsightsComponentDataVolumeCap
withCap(Float cap)
Set the cap property: Daily data volume cap in GB.ApplicationInsightsComponentDataVolumeCap
withStopSendNotificationWhenHitCap(Boolean stopSendNotificationWhenHitCap)
Set the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.ApplicationInsightsComponentDataVolumeCap
withStopSendNotificationWhenHitThreshold(Boolean stopSendNotificationWhenHitThreshold)
Set the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.ApplicationInsightsComponentDataVolumeCap
withWarningThreshold(Integer warningThreshold)
Set the warningThreshold property: Reserved, not used for now.
-
-
-
Method Detail
-
cap
public Float cap()
Get the cap property: Daily data volume cap in GB.- Returns:
- the cap value.
-
withCap
public ApplicationInsightsComponentDataVolumeCap withCap(Float cap)
Set the cap property: Daily data volume cap in GB.- Parameters:
cap
- the cap value to set.- Returns:
- the ApplicationInsightsComponentDataVolumeCap object itself.
-
resetTime
public Integer resetTime()
Get the resetTime property: Daily data volume cap UTC reset hour.- Returns:
- the resetTime value.
-
warningThreshold
public Integer warningThreshold()
Get the warningThreshold property: Reserved, not used for now.- Returns:
- the warningThreshold value.
-
withWarningThreshold
public ApplicationInsightsComponentDataVolumeCap withWarningThreshold(Integer warningThreshold)
Set the warningThreshold property: Reserved, not used for now.- Parameters:
warningThreshold
- the warningThreshold value to set.- Returns:
- the ApplicationInsightsComponentDataVolumeCap object itself.
-
stopSendNotificationWhenHitThreshold
public Boolean stopSendNotificationWhenHitThreshold()
Get the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.- Returns:
- the stopSendNotificationWhenHitThreshold value.
-
withStopSendNotificationWhenHitThreshold
public ApplicationInsightsComponentDataVolumeCap withStopSendNotificationWhenHitThreshold(Boolean stopSendNotificationWhenHitThreshold)
Set the stopSendNotificationWhenHitThreshold property: Reserved, not used for now.- Parameters:
stopSendNotificationWhenHitThreshold
- the stopSendNotificationWhenHitThreshold value to set.- Returns:
- the ApplicationInsightsComponentDataVolumeCap object itself.
-
stopSendNotificationWhenHitCap
public Boolean stopSendNotificationWhenHitCap()
Get the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.- Returns:
- the stopSendNotificationWhenHitCap value.
-
withStopSendNotificationWhenHitCap
public ApplicationInsightsComponentDataVolumeCap withStopSendNotificationWhenHitCap(Boolean stopSendNotificationWhenHitCap)
Set the stopSendNotificationWhenHitCap property: Do not send a notification email when the daily data volume cap is met.- Parameters:
stopSendNotificationWhenHitCap
- the stopSendNotificationWhenHitCap value to set.- Returns:
- the ApplicationInsightsComponentDataVolumeCap object itself.
-
maxHistoryCap
public Float maxHistoryCap()
Get the maxHistoryCap property: Maximum daily data volume cap that the user can set for this component.- Returns:
- the maxHistoryCap value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-