Class ApiGatewayRequestIdentity
java.lang.Object
com.amazonaws.serverless.proxy.model.ApiGatewayRequestIdentity
Identity model for the API Gateway request context. This is used in the default AwsProxyRequest object. Contains
all of the properties declared in the $context.identity API Gateway object so could be re-used for other implementations
- See Also:
AwsProxyRequest,RequestReader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUser()voidsetAccessKey(String accessKey)voidsetAccountId(String accountId)voidvoidsetApiKeyId(String apiKeyId)voidvoidsetCognitoAuthenticationProvider(String cognitoAuthenticationProvider)voidsetCognitoAuthenticationType(String cognitoAuthenticationType)voidsetCognitoIdentityId(String cognitoIdentityId)voidsetCognitoIdentityPoolId(String cognitoIdentityPoolId)voidsetSourceIp(String sourceIp)voidvoidsetUserAgent(String userAgent)voidsetUserArn(String userArn)
-
Constructor Details
-
ApiGatewayRequestIdentity
public ApiGatewayRequestIdentity()
-
-
Method Details
-
getApiKey
-
setApiKey
-
getApiKeyId
-
setApiKeyId
-
getUserArn
-
setUserArn
-
getCognitoAuthenticationType
-
setCognitoAuthenticationType
-
getCaller
-
setCaller
-
getUserAgent
-
setUserAgent
-
getUser
-
setUser
-
getCognitoIdentityPoolId
-
setCognitoIdentityPoolId
-
getCognitoIdentityId
-
setCognitoIdentityId
-
getCognitoAuthenticationProvider
-
setCognitoAuthenticationProvider
-
getSourceIp
-
setSourceIp
-
getAccountId
-
setAccountId
-
getAccessKey
-
setAccessKey
-