class
Amazonite::CloudWatchLogs::SuppressionPeriod
- Amazonite::CloudWatchLogs::SuppressionPeriod
- Reference
- Object
Overview
If you are suppressing an anomaly temporariliy, this structure defines how long the suppression period is to be.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/suppression_period.crConstructors
- .new(pull : JSON::PullParser)
- .new(value : Int32 | Nil = nil, suppression_unit : SuppressionUnit | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#suppression_unit : SuppressionUnit | Nil
Specifies whether the value of
#valueis in seconds, minutes, or hours. -
#suppression_unit=(suppression_unit : SuppressionUnit | Nil)
Specifies whether the value of
#valueis in seconds, minutes, or hours. - #validate! : Nil
-
#value : Int32 | Nil
Specifies the number of seconds, minutes or hours to suppress this anomaly.
-
#value=(value : Int32 | Nil)
Specifies the number of seconds, minutes or hours to suppress this anomaly.
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Specifies whether the value of #value is in seconds, minutes, or hours.
Specifies whether the value of #value is in seconds, minutes, or hours.
Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no maximum.
Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no maximum.