Class MetadataRequest

    • Constructor Detail

      • MetadataRequest

        public MetadataRequest​(FederatedIdentity identity,
                               MetadataRequestType requestType,
                               String queryId,
                               String catalogName)
        Constructs a new MetadataRequest object.
        Parameters:
        identity - The identity of the caller.
        requestType - The type of the request.
        queryId - The ID of the query requesting metadata.
        catalogName - The catalog name that metadata is requested for.
    • Method Detail

      • getRequestType

        public MetadataRequestType getRequestType()
        Returns the type of the request.
        Returns:
        The type of the request.
      • getCatalogName

        public String getCatalogName()
        Returns the catalog name that metadata is requested for.
        Returns:
        The catalog name that metadata is requested for.
      • getQueryId

        public String getQueryId()
        Returns the ID of the query requesting metadata.
        Returns:
        The ID of the query requesting metadata.
      • getContext

        public com.amazonaws.services.lambda.runtime.Context getContext()
        Returns Context from Lambda.
        Returns:
        The Context of the Lambda
      • setContext

        public void setContext​(com.amazonaws.services.lambda.runtime.Context context)
        Set the Context from Lambda.