public static class APIGatewayProxyRequestEvent.RequestIdentity extends Object implements Serializable, Cloneable
Constructor and Description |
---|
RequestIdentity()
default constructor
|
public String getCognitoIdentityPoolId()
public void setCognitoIdentityPoolId(String cognitoIdentityPoolId)
cognitoIdentityPoolId
- The Cognito identity pool id.public APIGatewayProxyRequestEvent.RequestIdentity withCognitoIdentityPoolId(String cognitoIdentityPoolId)
cognitoIdentityPoolId
- The Cognito Identity pool idpublic String getAccountId()
public void setAccountId(String accountId)
accountId
- The account id that owns the executing Lambda functionpublic APIGatewayProxyRequestEvent.RequestIdentity withAccountId(String accountId)
accountId
- The account id that owns the executing Lambda functionpublic String getCognitoIdentityId()
public void setCognitoIdentityId(String cognitoIdentityId)
cognitoIdentityId
- The cognito identity id.public APIGatewayProxyRequestEvent.RequestIdentity withCognitoIdentityId(String cognitoIdentityId)
cognitoIdentityId
- The cognito identity idpublic String getCaller()
public void setCaller(String caller)
caller
- the callerpublic APIGatewayProxyRequestEvent.RequestIdentity withCaller(String caller)
caller
- the callerpublic String getApiKey()
public void setApiKey(String apiKey)
apiKey
- the api keypublic APIGatewayProxyRequestEvent.RequestIdentity withApiKey(String apiKey)
apiKey
- the api keypublic String getSourceIp()
public void setSourceIp(String sourceIp)
sourceIp
- source ip addresspublic APIGatewayProxyRequestEvent.RequestIdentity withSourceIp(String sourceIp)
sourceIp
- source ip addresspublic String getCognitoAuthenticationType()
public void setCognitoAuthenticationType(String cognitoAuthenticationType)
cognitoAuthenticationType
- The Cognito authentication type used for authenticationpublic APIGatewayProxyRequestEvent.RequestIdentity withCognitoAuthenticationType(String cognitoAuthenticationType)
cognitoAuthenticationType
- The Cognito authentication type used for authenticationpublic String getCognitoAuthenticationProvider()
public void setCognitoAuthenticationProvider(String cognitoAuthenticationProvider)
cognitoAuthenticationProvider
- The Cognito authentication providerpublic APIGatewayProxyRequestEvent.RequestIdentity withCognitoAuthenticationProvider(String cognitoAuthenticationProvider)
cognitoAuthenticationProvider
- The Cognito authentication providerpublic String getUserArn()
public void setUserArn(String userArn)
userArn
- user arnpublic APIGatewayProxyRequestEvent.RequestIdentity withUserArn(String userArn)
userArn
- user arnpublic String getUserAgent()
public void setUserAgent(String userAgent)
userAgent
- user agentpublic APIGatewayProxyRequestEvent.RequestIdentity withUserAgent(String userAgent)
userAgent
- user agentpublic String getUser()
public void setUser(String user)
user
- userpublic APIGatewayProxyRequestEvent.RequestIdentity withUser(String user)
user
- userpublic String toString()
toString
in class Object
Object.toString()
public APIGatewayProxyRequestEvent.RequestIdentity clone()
Copyright © 2017. All rights reserved.