class Amazonite::CloudWatchLogs::SuppressionPeriod

Overview

If you are suppressing an anomaly temporariliy, this structure defines how long the suppression period is to be.

Included Modules

Defined in:

cloudwatch_logs/suppression_period.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(value : Int32 | Nil = nil, suppression_unit : SuppressionUnit | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def suppression_unit : SuppressionUnit | Nil #

Specifies whether the value of #value is in seconds, minutes, or hours.


[View source]
def suppression_unit=(suppression_unit : SuppressionUnit | Nil) #

Specifies whether the value of #value is in seconds, minutes, or hours.


[View source]
def validate! : Nil #

[View source]
def value : Int32 | Nil #

Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no maximum.


[View source]
def value=(value : Int32 | Nil) #

Specifies the number of seconds, minutes or hours to suppress this anomaly. There is no maximum.


[View source]