public static class APIGatewayProxyRequestEvent.ProxyRequestContext extends Object implements Serializable, Cloneable
Constructor and Description |
---|
ProxyRequestContext()
default constructor
|
public String getAccountId()
public void setAccountId(String accountId)
accountId
- account id that owns Lambda functionpublic APIGatewayProxyRequestEvent.ProxyRequestContext withAccountId(String accountId)
accountId
- account id that owns Lambda functionpublic String getStage()
public void setStage(String stage)
stage
- API Gateway stage namepublic APIGatewayProxyRequestEvent.ProxyRequestContext withStage(String stage)
stage
- API Gateway stage namepublic String getResourceId()
public void setResourceId(String resourceId)
resourceId
- resource idpublic APIGatewayProxyRequestEvent.ProxyRequestContext withResourceId(String resourceId)
resourceId
- resource idpublic String getRequestId()
public void setRequestId(String requestId)
requestId
- unique request idpublic APIGatewayProxyRequestEvent.ProxyRequestContext withRequestId(String requestId)
requestId
- unique request idpublic APIGatewayProxyRequestEvent.RequestIdentity getIdentity()
public void setIdentity(APIGatewayProxyRequestEvent.RequestIdentity identity)
identity
- The identity information for the request callerpublic APIGatewayProxyRequestEvent.ProxyRequestContext withIdentity(APIGatewayProxyRequestEvent.RequestIdentity identity)
identity
- The identity information for the request callerpublic String getResourcePath()
public void setResourcePath(String resourcePath)
resourcePath
- The resource path defined in API Gatewaypublic APIGatewayProxyRequestEvent.ProxyRequestContext withResourcePath(String resourcePath)
resourcePath
- The resource path defined in API Gatewaypublic String getHttpMethod()
public void setHttpMethod(String httpMethod)
httpMethod
- the HTTP method usedpublic APIGatewayProxyRequestEvent.ProxyRequestContext withHttpMethod(String httpMethod)
httpMethod
- the HTTP method usedpublic String getApiId()
public void setApiId(String apiId)
apiId
- The API Gateway rest API Id.public APIGatewayProxyRequestEvent.ProxyRequestContext withApiId(String apiId)
apiId
- The API Gateway rest API Idpublic String getPath()
public void setPath(String path)
path
- The API Gateway path (Does not include base url)public APIGatewayProxyRequestEvent.ProxyRequestContext withPath(String path)
path
- The API Gateway path (Does not include base url)public String toString()
toString
in class Object
Object.toString()
public APIGatewayProxyRequestEvent.ProxyRequestContext clone()
Copyright © 2019. All rights reserved.