Struct aws_sdk_kinesis::model::ChildShard
source · #[non_exhaustive]pub struct ChildShard { /* private fields */ }
Expand description
Output parameter of the GetRecords API. The existing child shard of the current shard.
Implementations§
source§impl ChildShard
impl ChildShard
sourcepub fn shard_id(&self) -> Option<&str>
pub fn shard_id(&self) -> Option<&str>
The shard ID of the existing child shard of the current shard.
sourcepub fn parent_shards(&self) -> Option<&[String]>
pub fn parent_shards(&self) -> Option<&[String]>
The current shard that is the parent of the existing child shard.
sourcepub fn hash_key_range(&self) -> Option<&HashKeyRange>
pub fn hash_key_range(&self) -> Option<&HashKeyRange>
The range of possible hash key values for the shard, which is a set of ordered contiguous positive integers.
source§impl ChildShard
impl ChildShard
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ChildShard
.
Trait Implementations§
source§impl Clone for ChildShard
impl Clone for ChildShard
source§fn clone(&self) -> ChildShard
fn clone(&self) -> ChildShard
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChildShard
impl Debug for ChildShard
source§impl PartialEq<ChildShard> for ChildShard
impl PartialEq<ChildShard> for ChildShard
source§fn eq(&self, other: &ChildShard) -> bool
fn eq(&self, other: &ChildShard) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.