Struct aws_sdk_connect::operation::associate_lambda_function::builders::AssociateLambdaFunctionInputBuilder
source · #[non_exhaustive]pub struct AssociateLambdaFunctionInputBuilder { /* private fields */ }
Expand description
A builder for AssociateLambdaFunctionInput
.
Implementations§
source§impl AssociateLambdaFunctionInputBuilder
impl AssociateLambdaFunctionInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn function_arn(self, input: impl Into<String>) -> Self
pub fn function_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for the Lambda function being associated. Maximum number of characters allowed is 140.
sourcepub fn set_function_arn(self, input: Option<String>) -> Self
pub fn set_function_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for the Lambda function being associated. Maximum number of characters allowed is 140.
sourcepub fn get_function_arn(&self) -> &Option<String>
pub fn get_function_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for the Lambda function being associated. Maximum number of characters allowed is 140.
sourcepub fn build(self) -> Result<AssociateLambdaFunctionInput, BuildError>
pub fn build(self) -> Result<AssociateLambdaFunctionInput, BuildError>
Consumes the builder and constructs a AssociateLambdaFunctionInput
.
source§impl AssociateLambdaFunctionInputBuilder
impl AssociateLambdaFunctionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateLambdaFunctionOutput, SdkError<AssociateLambdaFunctionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateLambdaFunctionOutput, SdkError<AssociateLambdaFunctionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateLambdaFunctionInputBuilder
impl Clone for AssociateLambdaFunctionInputBuilder
source§fn clone(&self) -> AssociateLambdaFunctionInputBuilder
fn clone(&self) -> AssociateLambdaFunctionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for AssociateLambdaFunctionInputBuilder
impl Default for AssociateLambdaFunctionInputBuilder
source§fn default() -> AssociateLambdaFunctionInputBuilder
fn default() -> AssociateLambdaFunctionInputBuilder
source§impl PartialEq<AssociateLambdaFunctionInputBuilder> for AssociateLambdaFunctionInputBuilder
impl PartialEq<AssociateLambdaFunctionInputBuilder> for AssociateLambdaFunctionInputBuilder
source§fn eq(&self, other: &AssociateLambdaFunctionInputBuilder) -> bool
fn eq(&self, other: &AssociateLambdaFunctionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.