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.
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 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.
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 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 build(self) -> KinesisAction
pub fn build(self) -> KinesisAction
Consumes the builder and constructs a KinesisAction
.
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<KinesisActionBuilder> for KinesisActionBuilder
impl PartialEq<KinesisActionBuilder> 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 ==
.