#[non_exhaustive]pub struct KinesisParametersBuilder { /* private fields */ }Expand description
A builder for KinesisParameters.
Implementations§
source§impl KinesisParametersBuilder
impl KinesisParametersBuilder
sourcepub fn partition_key_path(self, input: impl Into<String>) -> Self
pub fn partition_key_path(self, input: impl Into<String>) -> Self
The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.
This field is required.sourcepub fn set_partition_key_path(self, input: Option<String>) -> Self
pub fn set_partition_key_path(self, input: Option<String>) -> Self
The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.
sourcepub fn get_partition_key_path(&self) -> &Option<String>
pub fn get_partition_key_path(&self) -> &Option<String>
The JSON path to be extracted from the event and used as the partition key. For more information, see Amazon Kinesis Streams Key Concepts in the Amazon Kinesis Streams Developer Guide.
sourcepub fn build(self) -> Result<KinesisParameters, BuildError>
pub fn build(self) -> Result<KinesisParameters, BuildError>
Consumes the builder and constructs a KinesisParameters.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for KinesisParametersBuilder
impl Clone for KinesisParametersBuilder
source§fn clone(&self) -> KinesisParametersBuilder
fn clone(&self) -> KinesisParametersBuilder
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 KinesisParametersBuilder
impl Debug for KinesisParametersBuilder
source§impl Default for KinesisParametersBuilder
impl Default for KinesisParametersBuilder
source§fn default() -> KinesisParametersBuilder
fn default() -> KinesisParametersBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for KinesisParametersBuilder
impl PartialEq for KinesisParametersBuilder
source§fn eq(&self, other: &KinesisParametersBuilder) -> bool
fn eq(&self, other: &KinesisParametersBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for KinesisParametersBuilder
Auto Trait Implementations§
impl RefUnwindSafe for KinesisParametersBuilder
impl Send for KinesisParametersBuilder
impl Sync for KinesisParametersBuilder
impl Unpin for KinesisParametersBuilder
impl UnwindSafe for KinesisParametersBuilder
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.