class
Amazonite::Kinesis::DecreaseStreamRetentionPeriodInput
- Amazonite::Kinesis::DecreaseStreamRetentionPeriodInput
- Reference
- Object
Overview
Represents the input for DecreaseStreamRetentionPeriod.
Included Modules
- JSON::Serializable
Defined in:
kinesis/decrease_stream_retention_period_input.crConstructors
- .new(pull : JSON::PullParser)
- .new(retention_period_hours : Int32, stream_name : String | Nil = nil, stream_arn : String | Nil = nil, stream_id : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#retention_period_hours : Int32
The new retention period of the stream, in hours.
-
#retention_period_hours=(retention_period_hours : Int32)
The new retention period of the stream, in hours.
-
#stream_arn : String | Nil
The ARN of the stream.
-
#stream_arn=(stream_arn : String | Nil)
The ARN of the stream.
-
#stream_id : String | Nil
Not Implemented.
-
#stream_id=(stream_id : String | Nil)
Not Implemented.
-
#stream_name : String | Nil
The name of the stream to modify.
-
#stream_name=(stream_name : String | Nil)
The name of the stream to modify.
- #validate! : Nil
Constructor Detail
def self.new(retention_period_hours : Int32, stream_name : String | Nil = nil, stream_arn : String | Nil = nil, stream_id : String | Nil = nil)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def retention_period_hours : Int32
#
The new retention period of the stream, in hours. Must be less than the current retention period.
def retention_period_hours=(retention_period_hours : Int32)
#
The new retention period of the stream, in hours. Must be less than the current retention period.