code: public <T> T getAs(String environmentVariableName, Class<T> type, T defaultValue) {
      return environmentVariables().getAsType(environmentVariableName, type, defaultValue);
    }
docs: Returns the value set for the environment variable identified by the given name as the given {@link Class} type.
  Returns the {@code defaultValue} if the named environment variable is not set.
  
  @param <T> {@link Class} type to convert the environment variable value to.
  @param environmentVariableName {@link String} name of the environment variable.
  @param type {@link Class} type to convert the environment variable value to.
  @param defaultValue the default value to return if the specified environment variable is not set.
  @return the value set the environment variable identified by the given name as the given {@link Class} type
  or {@code defaultValue} if the named environment variable is not set.
  @see #environmentVariables()