@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FunctionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
FunctionConfiguration() |
Modifier and Type | Method and Description |
---|---|
FunctionConfiguration |
clone() |
boolean |
equals(Object obj) |
FunctionConfigurationEnvironment |
getEnvironment()
Environment of the function configuration
|
String |
getExecArgs()
Execution Arguments
|
String |
getExecutable()
Executable
|
Integer |
getMemorySize()
The memory size, in KB, you configured for the function.
|
Boolean |
getPinned()
Whether the function is pinned or not.
|
Integer |
getTimeout()
The function execution time at which Lambda should terminate the function.
|
int |
hashCode() |
Boolean |
isPinned()
Whether the function is pinned or not.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnvironment(FunctionConfigurationEnvironment environment)
Environment of the function configuration
|
void |
setExecArgs(String execArgs)
Execution Arguments
|
void |
setExecutable(String executable)
Executable
|
void |
setMemorySize(Integer memorySize)
The memory size, in KB, you configured for the function.
|
void |
setPinned(Boolean pinned)
Whether the function is pinned or not.
|
void |
setTimeout(Integer timeout)
The function execution time at which Lambda should terminate the function.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FunctionConfiguration |
withEnvironment(FunctionConfigurationEnvironment environment)
Environment of the function configuration
|
FunctionConfiguration |
withExecArgs(String execArgs)
Execution Arguments
|
FunctionConfiguration |
withExecutable(String executable)
Executable
|
FunctionConfiguration |
withMemorySize(Integer memorySize)
The memory size, in KB, you configured for the function.
|
FunctionConfiguration |
withPinned(Boolean pinned)
Whether the function is pinned or not.
|
FunctionConfiguration |
withTimeout(Integer timeout)
The function execution time at which Lambda should terminate the function.
|
public void setEnvironment(FunctionConfigurationEnvironment environment)
environment
- Environment of the function configurationpublic FunctionConfigurationEnvironment getEnvironment()
public FunctionConfiguration withEnvironment(FunctionConfigurationEnvironment environment)
environment
- Environment of the function configurationpublic void setExecArgs(String execArgs)
execArgs
- Execution Argumentspublic String getExecArgs()
public FunctionConfiguration withExecArgs(String execArgs)
execArgs
- Execution Argumentspublic void setExecutable(String executable)
executable
- Executablepublic String getExecutable()
public FunctionConfiguration withExecutable(String executable)
executable
- Executablepublic void setMemorySize(Integer memorySize)
memorySize
- The memory size, in KB, you configured for the function.public Integer getMemorySize()
public FunctionConfiguration withMemorySize(Integer memorySize)
memorySize
- The memory size, in KB, you configured for the function.public void setPinned(Boolean pinned)
pinned
- Whether the function is pinned or not. Pinned means the function is long-lived and starts when the core
starts.public Boolean getPinned()
public FunctionConfiguration withPinned(Boolean pinned)
pinned
- Whether the function is pinned or not. Pinned means the function is long-lived and starts when the core
starts.public Boolean isPinned()
public void setTimeout(Integer timeout)
timeout
- The function execution time at which Lambda should terminate the function. This timeout still applies to
pinned lambdas for each request.public Integer getTimeout()
public FunctionConfiguration withTimeout(Integer timeout)
timeout
- The function execution time at which Lambda should terminate the function. This timeout still applies to
pinned lambdas for each request.public String toString()
toString
in class Object
Object.toString()
public FunctionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.