Class KinesisStreamShard

  • All Implemented Interfaces:
    Serializable

    @Deprecated
    @Internal
    public class KinesisStreamShard
    extends Object
    implements Serializable
    Deprecated.
    Will be remove in a future version in favor of StreamShardHandle.
    A legacy serializable representation of a AWS Kinesis Stream shard. It is basically a wrapper class around the information provided along with Shard.
    See Also:
    Serialized Form
    • Constructor Detail

      • KinesisStreamShard

        public KinesisStreamShard​(String streamName,
                                  com.amazonaws.services.kinesis.model.Shard shard)
        Deprecated.
        Create a new KinesisStreamShard.
        Parameters:
        streamName - the name of the Kinesis stream that this shard belongs to
        shard - the actual AWS Shard instance that will be wrapped within this KinesisStreamShard