Interface AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder,
,AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails> SdkBuilder<AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder,
,AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails> SdkPojo
- Enclosing class:
AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails
public static interface AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder
extends SdkPojo, CopyableBuilder<AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder,AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails>
-
Method Summary
Modifier and TypeMethodDescriptionauthorizerResultTtlInSeconds
(Integer authorizerResultTtlInSeconds) The number of seconds a response should be cached for.authorizerUri
(String authorizerUri) The Amazon Resource Name (ARN) of the Lambda function to be called for authorization.identityValidationExpression
(String identityValidationExpression) A regular expression for validation of tokens before the Lambda function is called.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
authorizerResultTtlInSeconds
AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder authorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds) The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).
- Parameters:
authorizerResultTtlInSeconds
- The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerUri
The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.
- Parameters:
authorizerUri
- The Amazon Resource Name (ARN) of the Lambda function to be called for authorization. This can be a standard Lambda ARN, a version ARN (.../v3), or an alias ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identityValidationExpression
AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails.Builder identityValidationExpression(String identityValidationExpression) A regular expression for validation of tokens before the Lambda function is called.
- Parameters:
identityValidationExpression
- A regular expression for validation of tokens before the Lambda function is called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-