Package yandex.cloud.sdk.functions
Class YcFunctionContext
- java.lang.Object
-
- yandex.cloud.sdk.functions.YcFunctionContext
-
-
Field Summary
Fields Modifier and Type Field Description static StringHEADER_FUNCTION_NAMEstatic StringHEADER_FUNCTION_VERSION_IDstatic StringHEADER_MEMORY_LIMITstatic StringHEADER_REQUEST_IDstatic StringHEADER_TOKEN_JSON
-
Constructor Summary
Constructors Constructor Description YcFunctionContext(java.net.http.HttpHeaders headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFunctionId()StringgetFunctionVersionId()intgetMemoryLimit()StringgetRequestId()StringgetTokenJson()
-
-
-
Field Detail
-
HEADER_REQUEST_ID
public static final String HEADER_REQUEST_ID
- See Also:
- Constant Field Values
-
HEADER_FUNCTION_NAME
public static final String HEADER_FUNCTION_NAME
- See Also:
- Constant Field Values
-
HEADER_FUNCTION_VERSION_ID
public static final String HEADER_FUNCTION_VERSION_ID
- See Also:
- Constant Field Values
-
HEADER_MEMORY_LIMIT
public static final String HEADER_MEMORY_LIMIT
- See Also:
- Constant Field Values
-
HEADER_TOKEN_JSON
public static final String HEADER_TOKEN_JSON
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRequestId
public String getRequestId()
- Specified by:
getRequestIdin interfaceContext
-
getFunctionId
public String getFunctionId()
- Specified by:
getFunctionIdin interfaceContext
-
getFunctionVersionId
public String getFunctionVersionId()
- Specified by:
getFunctionVersionIdin interfaceContext
-
getMemoryLimit
public int getMemoryLimit()
- Specified by:
getMemoryLimitin interfaceContext
-
getTokenJson
public String getTokenJson()
- Specified by:
getTokenJsonin interfaceContext
-
-