Class PreTokenGenerationVersionConfigType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.PreTokenGenerationVersionConfigType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PreTokenGenerationVersionConfigType.Builder,PreTokenGenerationVersionConfigType>
@Generated("software.amazon.awssdk:codegen") public final class PreTokenGenerationVersionConfigType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PreTokenGenerationVersionConfigType.Builder,PreTokenGenerationVersionConfigType>
The properties of a pre token generation Lambda trigger.
This data type is a request and response parameter of CreateUserPool and UpdateUserPool, and a response parameter of DescribeUserPool.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePreTokenGenerationVersionConfigType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PreTokenGenerationVersionConfigType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlambdaArn()The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.PreTokenGenerationLambdaVersionTypelambdaVersion()The user pool trigger version of the request that Amazon Cognito sends to your Lambda function.StringlambdaVersionAsString()The user pool trigger version of the request that Amazon Cognito sends to your Lambda function.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PreTokenGenerationVersionConfigType.Builder>serializableBuilderClass()PreTokenGenerationVersionConfigType.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
lambdaVersion
public final PreTokenGenerationLambdaVersionType lambdaVersion()
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.
If the service returns an enum value that is not available in the current SDK version,
lambdaVersionwill returnPreTokenGenerationLambdaVersionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaVersionAsString().- Returns:
- 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.
- See Also:
PreTokenGenerationLambdaVersionType
-
lambdaVersionAsString
public final String lambdaVersionAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
lambdaVersionwill returnPreTokenGenerationLambdaVersionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlambdaVersionAsString().- Returns:
- 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.
- See Also:
PreTokenGenerationLambdaVersionType
-
lambdaArn
public final String lambdaArn()
The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the
PreTokenGenerationproperty ofLambdaConfighave the same value. For new instances of pre token generation triggers, setLambdaArn.- Returns:
- The Amazon Resource Name (ARN) of the function that you want to assign to your Lambda trigger.
This parameter and the
PreTokenGenerationproperty ofLambdaConfighave the same value. For new instances of pre token generation triggers, setLambdaArn.
-
toBuilder
public PreTokenGenerationVersionConfigType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PreTokenGenerationVersionConfigType.Builder,PreTokenGenerationVersionConfigType>
-
builder
public static PreTokenGenerationVersionConfigType.Builder builder()
-
serializableBuilderClass
public static Class<? extends PreTokenGenerationVersionConfigType.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-