@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the authorization configuration for using an Lambda function with your AppSync GraphQL API endpoint.
| Constructor and Description |
|---|
AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails() |
| Modifier and Type | Method and Description |
|---|---|
AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getAuthorizerResultTtlInSeconds()
The number of seconds a response should be cached for.
|
String |
getAuthorizerUri()
The Amazon Resource Name (ARN) of the Lambda function to be called for authorization.
|
String |
getIdentityValidationExpression()
A regular expression for validation of tokens before the Lambda function is called.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)
The number of seconds a response should be cached for.
|
void |
setAuthorizerUri(String authorizerUri)
The Amazon Resource Name (ARN) of the Lambda function to be called for authorization.
|
void |
setIdentityValidationExpression(String identityValidationExpression)
A regular expression for validation of tokens before the Lambda function is called.
|
String |
toString()
Returns a string representation of this object.
|
AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails |
withAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)
The number of seconds a response should be cached for.
|
AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails |
withAuthorizerUri(String authorizerUri)
The Amazon Resource Name (ARN) of the Lambda function to be called for authorization.
|
AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails |
withIdentityValidationExpression(String identityValidationExpression)
A regular expression for validation of tokens before the Lambda function is called.
|
public AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails()
public void setAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)
The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).
authorizerResultTtlInSeconds - The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).public Integer getAuthorizerResultTtlInSeconds()
The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).
public AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails withAuthorizerResultTtlInSeconds(Integer authorizerResultTtlInSeconds)
The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).
authorizerResultTtlInSeconds - The number of seconds a response should be cached for. The default is 5 minutes (300 seconds).public void setAuthorizerUri(String 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.
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.public String getAuthorizerUri()
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.
public AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails withAuthorizerUri(String 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.
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.public void setIdentityValidationExpression(String identityValidationExpression)
A regular expression for validation of tokens before the Lambda function is called.
identityValidationExpression - A regular expression for validation of tokens before the Lambda function is called.public String getIdentityValidationExpression()
A regular expression for validation of tokens before the Lambda function is called.
public AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails withIdentityValidationExpression(String identityValidationExpression)
A regular expression for validation of tokens before the Lambda function is called.
identityValidationExpression - A regular expression for validation of tokens before the Lambda function is called.public String toString()
toString in class ObjectObject.toString()public AwsAppSyncGraphQlApiLambdaAuthorizerConfigDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.