#[non_exhaustive]pub struct LambdaOutputDescriptionBuilder { /* private fields */ }
Expand description
A builder for LambdaOutputDescription
.
Implementations§
source§impl LambdaOutputDescriptionBuilder
impl LambdaOutputDescriptionBuilder
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 destination Lambda function.
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 destination Lambda function.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the destination Lambda function.
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 write to the destination function.
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 write to the destination function.
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 write to the destination function.
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<LambdaOutputDescription, BuildError>
pub fn build(self) -> Result<LambdaOutputDescription, BuildError>
Consumes the builder and constructs a LambdaOutputDescription
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LambdaOutputDescriptionBuilder
impl Clone for LambdaOutputDescriptionBuilder
source§fn clone(&self) -> LambdaOutputDescriptionBuilder
fn clone(&self) -> LambdaOutputDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LambdaOutputDescriptionBuilder
impl Default for LambdaOutputDescriptionBuilder
source§fn default() -> LambdaOutputDescriptionBuilder
fn default() -> LambdaOutputDescriptionBuilder
source§impl PartialEq for LambdaOutputDescriptionBuilder
impl PartialEq for LambdaOutputDescriptionBuilder
source§fn eq(&self, other: &LambdaOutputDescriptionBuilder) -> bool
fn eq(&self, other: &LambdaOutputDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LambdaOutputDescriptionBuilder
Auto Trait Implementations§
impl Freeze for LambdaOutputDescriptionBuilder
impl RefUnwindSafe for LambdaOutputDescriptionBuilder
impl Send for LambdaOutputDescriptionBuilder
impl Sync for LambdaOutputDescriptionBuilder
impl Unpin for LambdaOutputDescriptionBuilder
impl UnwindSafe for LambdaOutputDescriptionBuilder
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