Struct aws_sdk_kinesis::types::builders::HashKeyRangeBuilder
source · #[non_exhaustive]pub struct HashKeyRangeBuilder { /* private fields */ }Expand description
A builder for HashKeyRange.
Implementations§
source§impl HashKeyRangeBuilder
impl HashKeyRangeBuilder
sourcepub fn starting_hash_key(self, input: impl Into<String>) -> Self
pub fn starting_hash_key(self, input: impl Into<String>) -> Self
The starting hash key of the hash key range.
This field is required.sourcepub fn set_starting_hash_key(self, input: Option<String>) -> Self
pub fn set_starting_hash_key(self, input: Option<String>) -> Self
The starting hash key of the hash key range.
sourcepub fn get_starting_hash_key(&self) -> &Option<String>
pub fn get_starting_hash_key(&self) -> &Option<String>
The starting hash key of the hash key range.
sourcepub fn ending_hash_key(self, input: impl Into<String>) -> Self
pub fn ending_hash_key(self, input: impl Into<String>) -> Self
The ending hash key of the hash key range.
This field is required.sourcepub fn set_ending_hash_key(self, input: Option<String>) -> Self
pub fn set_ending_hash_key(self, input: Option<String>) -> Self
The ending hash key of the hash key range.
sourcepub fn get_ending_hash_key(&self) -> &Option<String>
pub fn get_ending_hash_key(&self) -> &Option<String>
The ending hash key of the hash key range.
sourcepub fn build(self) -> Result<HashKeyRange, BuildError>
pub fn build(self) -> Result<HashKeyRange, BuildError>
Consumes the builder and constructs a HashKeyRange.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for HashKeyRangeBuilder
impl Clone for HashKeyRangeBuilder
source§fn clone(&self) -> HashKeyRangeBuilder
fn clone(&self) -> HashKeyRangeBuilder
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 HashKeyRangeBuilder
impl Debug for HashKeyRangeBuilder
source§impl Default for HashKeyRangeBuilder
impl Default for HashKeyRangeBuilder
source§fn default() -> HashKeyRangeBuilder
fn default() -> HashKeyRangeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for HashKeyRangeBuilder
impl PartialEq for HashKeyRangeBuilder
source§fn eq(&self, other: &HashKeyRangeBuilder) -> bool
fn eq(&self, other: &HashKeyRangeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for HashKeyRangeBuilder
Auto Trait Implementations§
impl RefUnwindSafe for HashKeyRangeBuilder
impl Send for HashKeyRangeBuilder
impl Sync for HashKeyRangeBuilder
impl Unpin for HashKeyRangeBuilder
impl UnwindSafe for HashKeyRangeBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.