Struct aws_sdk_iot::types::builders::KinesisActionBuilder
source · #[non_exhaustive]pub struct KinesisActionBuilder { /* private fields */ }
Expand description
A builder for KinesisAction
.
Implementations§
source§impl KinesisActionBuilder
impl KinesisActionBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
This field is required.sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the IAM role that grants access to the Amazon Kinesis stream.
sourcepub fn stream_name(self, input: impl Into<String>) -> Self
pub fn stream_name(self, input: impl Into<String>) -> Self
The name of the Amazon Kinesis stream.
This field is required.sourcepub fn set_stream_name(self, input: Option<String>) -> Self
pub fn set_stream_name(self, input: Option<String>) -> Self
The name of the Amazon Kinesis stream.
sourcepub fn get_stream_name(&self) -> &Option<String>
pub fn get_stream_name(&self) -> &Option<String>
The name of the Amazon Kinesis stream.
sourcepub fn partition_key(self, input: impl Into<String>) -> Self
pub fn partition_key(self, input: impl Into<String>) -> Self
The partition key.
sourcepub fn set_partition_key(self, input: Option<String>) -> Self
pub fn set_partition_key(self, input: Option<String>) -> Self
The partition key.
sourcepub fn get_partition_key(&self) -> &Option<String>
pub fn get_partition_key(&self) -> &Option<String>
The partition key.
sourcepub fn build(self) -> Result<KinesisAction, BuildError>
pub fn build(self) -> Result<KinesisAction, BuildError>
Consumes the builder and constructs a KinesisAction
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for KinesisActionBuilder
impl Clone for KinesisActionBuilder
source§fn clone(&self) -> KinesisActionBuilder
fn clone(&self) -> KinesisActionBuilder
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 KinesisActionBuilder
impl Debug for KinesisActionBuilder
source§impl Default for KinesisActionBuilder
impl Default for KinesisActionBuilder
source§fn default() -> KinesisActionBuilder
fn default() -> KinesisActionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for KinesisActionBuilder
impl PartialEq for KinesisActionBuilder
source§fn eq(&self, other: &KinesisActionBuilder) -> bool
fn eq(&self, other: &KinesisActionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KinesisActionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for KinesisActionBuilder
impl Send for KinesisActionBuilder
impl Sync for KinesisActionBuilder
impl Unpin for KinesisActionBuilder
impl UnwindSafe for KinesisActionBuilder
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.