@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Environment extends Object implements Serializable, Cloneable, StructuredPojo
A function's environment variable settings. You can use environment variables to adjust your function's behavior without updating code. An environment variable is a pair of strings that are stored in a function's version-specific configuration.
Constructor and Description |
---|
Environment() |
Modifier and Type | Method and Description |
---|---|
Environment |
addVariablesEntry(String key,
String value)
Add a single Variables entry
|
Environment |
clearVariablesEntries()
Removes all the entries added into Variables.
|
Environment |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getVariables()
Environment variable key-value pairs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setVariables(Map<String,String> variables)
Environment variable key-value pairs.
|
String |
toString()
Returns a string representation of this object.
|
Environment |
withVariables(Map<String,String> variables)
Environment variable key-value pairs.
|
public Map<String,String> getVariables()
Environment variable key-value pairs. For more information, see Using Lambda environment variables.
public void setVariables(Map<String,String> variables)
Environment variable key-value pairs. For more information, see Using Lambda environment variables.
variables
- Environment variable key-value pairs. For more information, see Using Lambda environment
variables.public Environment withVariables(Map<String,String> variables)
Environment variable key-value pairs. For more information, see Using Lambda environment variables.
variables
- Environment variable key-value pairs. For more information, see Using Lambda environment
variables.public Environment addVariablesEntry(String key, String value)
public Environment clearVariablesEntries()
public String toString()
toString
in class Object
Object.toString()
public Environment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2023. All rights reserved.