Class: Aws::KCLrb::V2::InitializeInput Abstract
- Inherits:
-
Object
- Object
- Aws::KCLrb::V2::InitializeInput
- Defined in:
- lib/aws/kclrb/messages.rb
Overview
This class is abstract.
Input object for RecordProcessorBase#init_processor method.
Instance Attribute Summary collapse
-
#sequence_number ⇒ Object
readonly
Returns the value of attribute sequence_number.
-
#shard_id ⇒ Object
readonly
Returns the value of attribute shard_id.
Instance Method Summary collapse
-
#initialize(shard_id, sequence_number) ⇒ InitializeInput
constructor
A new instance of InitializeInput.
Constructor Details
#initialize(shard_id, sequence_number) ⇒ InitializeInput
Returns a new instance of InitializeInput.
9 10 11 12 |
# File 'lib/aws/kclrb/messages.rb', line 9 def initialize(shard_id, sequence_number) @shard_id = shard_id @sequence_number = sequence_number end |
Instance Attribute Details
#sequence_number ⇒ Object (readonly)
Returns the value of attribute sequence_number.
7 8 9 |
# File 'lib/aws/kclrb/messages.rb', line 7 def sequence_number @sequence_number end |
#shard_id ⇒ Object (readonly)
Returns the value of attribute shard_id.
7 8 9 |
# File 'lib/aws/kclrb/messages.rb', line 7 def shard_id @shard_id end |