Nimbus

Nimbus

  • Docs
  • Getting Started
  • Help

›Clients

Documentation

  • Introduction
  • Deployment

Deploying Resources

  • File Storage Bucket
  • Document Store
  • Key-Value Store
  • Relational Database
  • Functions

    • HTTP Function
    • WebSocket Function
    • Document Store Function
    • Key-Value Store Function
    • Notification Function
    • Queue Function
    • Basic Function
    • File Storage Function
    • After Deployment Function
    • Environment Variables

Clients

  • Document Store Client
  • Key-Value Store Client
  • File Storage Client
  • WebSocket Management Client
  • Basic Serverless Function Client
  • Notification Topic Client
  • Queue Client
  • Relational Database Client
  • Environment Variable Client

Local Deployment

  • Unit Testing
  • Local Server

Environment Variable Client

The EnvironmentVariableClient allows you to access your function environment variables set with @EnvironmentVariable.

Initialisation

To get an EnvironmentVariableClient do:

EnvironmentVariableClient client = ClientBuilder.getEnvironmentVariableClient();

This client will only be able to access variables which have been set using @EnvironmentVariable on the serverless function method.

EnvironmentVariableClient methods

  • boolean containsKey(String key) - Returns true if the environment variables contains the key, false otherwise.

  • String get(String key) - Returns the value of the environment variable specified by key, null if the key does not exist in the environment.

← Relational Database ClientUnit Testing →
  • Initialisation
  • EnvironmentVariableClient methods
Nimbus
Docs
Getting StartedDocumentation
More
GitHubStar
Copyright © 2019 Thomas Allerton