Struct aws_sdk_cognitoidentityprovider::types::builders::PreTokenGenerationVersionConfigTypeBuilder
source · #[non_exhaustive]pub struct PreTokenGenerationVersionConfigTypeBuilder { /* private fields */ }Expand description
A builder for PreTokenGenerationVersionConfigType.
Implementations§
source§impl PreTokenGenerationVersionConfigTypeBuilder
impl PreTokenGenerationVersionConfigTypeBuilder
sourcepub fn lambda_version(self, input: PreTokenGenerationLambdaVersionType) -> Self
pub fn lambda_version(self, input: PreTokenGenerationLambdaVersionType) -> Self
The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
This field is required.sourcepub fn set_lambda_version(
self,
input: Option<PreTokenGenerationLambdaVersionType>
) -> Self
pub fn set_lambda_version( self, input: Option<PreTokenGenerationLambdaVersionType> ) -> Self
The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
sourcepub fn get_lambda_version(&self) -> &Option<PreTokenGenerationLambdaVersionType>
pub fn get_lambda_version(&self) -> &Option<PreTokenGenerationLambdaVersionType>
The user pool trigger version of the request that Amazon Cognito sends to your Lambda function. Higher-numbered versions add fields that support new features.
sourcepub fn lambda_arn(self, input: impl Into<String>) -> Self
pub fn lambda_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.
sourcepub fn set_lambda_arn(self, input: Option<String>) -> Self
pub fn set_lambda_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.
sourcepub fn get_lambda_arn(&self) -> &Option<String>
pub fn get_lambda_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the PreTokenGeneration property of LambdaConfig have the same value. For new instances of pre token generation triggers, set LambdaArn.
sourcepub fn build(self) -> Result<PreTokenGenerationVersionConfigType, BuildError>
pub fn build(self) -> Result<PreTokenGenerationVersionConfigType, BuildError>
Consumes the builder and constructs a PreTokenGenerationVersionConfigType.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PreTokenGenerationVersionConfigTypeBuilder
impl Clone for PreTokenGenerationVersionConfigTypeBuilder
source§fn clone(&self) -> PreTokenGenerationVersionConfigTypeBuilder
fn clone(&self) -> PreTokenGenerationVersionConfigTypeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for PreTokenGenerationVersionConfigTypeBuilder
impl Default for PreTokenGenerationVersionConfigTypeBuilder
source§fn default() -> PreTokenGenerationVersionConfigTypeBuilder
fn default() -> PreTokenGenerationVersionConfigTypeBuilder
source§impl PartialEq for PreTokenGenerationVersionConfigTypeBuilder
impl PartialEq for PreTokenGenerationVersionConfigTypeBuilder
source§fn eq(&self, other: &PreTokenGenerationVersionConfigTypeBuilder) -> bool
fn eq(&self, other: &PreTokenGenerationVersionConfigTypeBuilder) -> bool
self and other values to be equal, and is used
by ==.