@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsLambdaFunctionEnvironment extends Object implements Serializable, Cloneable, StructuredPojo
A function's environment variable settings.
| Constructor and Description |
|---|
AwsLambdaFunctionEnvironment() |
| Modifier and Type | Method and Description |
|---|---|
AwsLambdaFunctionEnvironment |
addVariablesEntry(String key,
String value)
Add a single Variables entry
|
AwsLambdaFunctionEnvironment |
clearVariablesEntries()
Removes all the entries added into Variables.
|
AwsLambdaFunctionEnvironment |
clone() |
boolean |
equals(Object obj) |
AwsLambdaFunctionEnvironmentError |
getError()
An
AwsLambdaFunctionEnvironmentError object. |
Map<String,String> |
getVariables()
Environment variable key-value pairs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setError(AwsLambdaFunctionEnvironmentError error)
An
AwsLambdaFunctionEnvironmentError object. |
void |
setVariables(Map<String,String> variables)
Environment variable key-value pairs.
|
String |
toString()
Returns a string representation of this object.
|
AwsLambdaFunctionEnvironment |
withError(AwsLambdaFunctionEnvironmentError error)
An
AwsLambdaFunctionEnvironmentError object. |
AwsLambdaFunctionEnvironment |
withVariables(Map<String,String> variables)
Environment variable key-value pairs.
|
public Map<String,String> getVariables()
Environment variable key-value pairs.
public void setVariables(Map<String,String> variables)
Environment variable key-value pairs.
variables - Environment variable key-value pairs.public AwsLambdaFunctionEnvironment withVariables(Map<String,String> variables)
Environment variable key-value pairs.
variables - Environment variable key-value pairs.public AwsLambdaFunctionEnvironment addVariablesEntry(String key, String value)
public AwsLambdaFunctionEnvironment clearVariablesEntries()
public void setError(AwsLambdaFunctionEnvironmentError error)
An AwsLambdaFunctionEnvironmentError object.
error - An AwsLambdaFunctionEnvironmentError object.public AwsLambdaFunctionEnvironmentError getError()
An AwsLambdaFunctionEnvironmentError object.
AwsLambdaFunctionEnvironmentError object.public AwsLambdaFunctionEnvironment withError(AwsLambdaFunctionEnvironmentError error)
An AwsLambdaFunctionEnvironmentError object.
error - An AwsLambdaFunctionEnvironmentError object.public String toString()
toString in class ObjectObject.toString()public AwsLambdaFunctionEnvironment clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.