class
Amazonite::Kinesis::ChildShard
- Amazonite::Kinesis::ChildShard
- Reference
- Object
Overview
Output parameter of the GetRecords API. The existing child shard of the current shard.
Included Modules
- JSON::Serializable
Defined in:
kinesis/child_shard.crConstructors
- .new(shard_id : String, parent_shards : Array(String), hash_key_range : HashKeyRange)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) - #hash_key_range : HashKeyRange
- #hash_key_range=(hash_key_range : HashKeyRange)
-
#parent_shards : Array(String)
The current shard that is the parent of the existing child shard.
-
#parent_shards=(parent_shards : Array(String))
The current shard that is the parent of the existing child shard.
-
#shard_id : String
The shard ID of the existing child shard of the current shard.
-
#shard_id=(shard_id : String)
The shard ID of the existing child shard of the current shard.
- #validate! : Nil
Constructor Detail
def self.new(shard_id : String, parent_shards : Array(String), hash_key_range : HashKeyRange)
#
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.
def parent_shards : Array(String)
#
The current shard that is the parent of the existing child shard.
def parent_shards=(parent_shards : Array(String))
#
The current shard that is the parent of the existing child shard.