#[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 ==.