#[non_exhaustive]pub struct KinesisStreamsInputDescriptionBuilder { /* private fields */ }
Expand description
A builder for KinesisStreamsInputDescription
.
Implementations§
source§impl KinesisStreamsInputDescriptionBuilder
impl KinesisStreamsInputDescriptionBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the Kinesis data stream.
This field is required.sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the Kinesis data stream.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the Kinesis data stream.
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 Kinesis Data Analytics can assume to access the stream.
Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
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 Kinesis Data Analytics can assume to access the stream.
Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
The ARN of the IAM role that Kinesis Data Analytics can assume to access the stream.
Provided for backward compatibility. Applications that are created with the current API version have an application-level service execution role rather than a resource-level role.
sourcepub fn build(self) -> Result<KinesisStreamsInputDescription, BuildError>
pub fn build(self) -> Result<KinesisStreamsInputDescription, BuildError>
Consumes the builder and constructs a KinesisStreamsInputDescription
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for KinesisStreamsInputDescriptionBuilder
impl Clone for KinesisStreamsInputDescriptionBuilder
source§fn clone(&self) -> KinesisStreamsInputDescriptionBuilder
fn clone(&self) -> KinesisStreamsInputDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for KinesisStreamsInputDescriptionBuilder
impl Default for KinesisStreamsInputDescriptionBuilder
source§fn default() -> KinesisStreamsInputDescriptionBuilder
fn default() -> KinesisStreamsInputDescriptionBuilder
source§impl PartialEq for KinesisStreamsInputDescriptionBuilder
impl PartialEq for KinesisStreamsInputDescriptionBuilder
source§fn eq(&self, other: &KinesisStreamsInputDescriptionBuilder) -> bool
fn eq(&self, other: &KinesisStreamsInputDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KinesisStreamsInputDescriptionBuilder
Auto Trait Implementations§
impl Freeze for KinesisStreamsInputDescriptionBuilder
impl RefUnwindSafe for KinesisStreamsInputDescriptionBuilder
impl Send for KinesisStreamsInputDescriptionBuilder
impl Sync for KinesisStreamsInputDescriptionBuilder
impl Unpin for KinesisStreamsInputDescriptionBuilder
impl UnwindSafe for KinesisStreamsInputDescriptionBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more