@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaFunctionMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The Amazon Web Services Lambda function metadata.
| Constructor and Description |
|---|
LambdaFunctionMetadata() |
| Modifier and Type | Method and Description |
|---|---|
LambdaFunctionMetadata |
addFunctionTagsEntry(String key,
String value)
Add a single FunctionTags entry
|
LambdaFunctionMetadata |
clearFunctionTagsEntries()
Removes all the entries added into FunctionTags.
|
LambdaFunctionMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getFunctionName()
The name of a function.
|
Map<String,String> |
getFunctionTags()
The resource tags on an Amazon Web Services Lambda function.
|
List<String> |
getLayers()
The layers for an Amazon Web Services Lambda function.
|
String |
getRuntime()
An Amazon Web Services Lambda function's runtime.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFunctionName(String functionName)
The name of a function.
|
void |
setFunctionTags(Map<String,String> functionTags)
The resource tags on an Amazon Web Services Lambda function.
|
void |
setLayers(Collection<String> layers)
The layers for an Amazon Web Services Lambda function.
|
void |
setRuntime(String runtime)
An Amazon Web Services Lambda function's runtime.
|
String |
toString()
Returns a string representation of this object.
|
LambdaFunctionMetadata |
withFunctionName(String functionName)
The name of a function.
|
LambdaFunctionMetadata |
withFunctionTags(Map<String,String> functionTags)
The resource tags on an Amazon Web Services Lambda function.
|
LambdaFunctionMetadata |
withLayers(Collection<String> layers)
The layers for an Amazon Web Services Lambda function.
|
LambdaFunctionMetadata |
withLayers(String... layers)
The layers for an Amazon Web Services Lambda function.
|
LambdaFunctionMetadata |
withRuntime(Runtime runtime)
An Amazon Web Services Lambda function's runtime.
|
LambdaFunctionMetadata |
withRuntime(String runtime)
An Amazon Web Services Lambda function's runtime.
|
public void setFunctionName(String functionName)
The name of a function.
functionName - The name of a function.public String getFunctionName()
The name of a function.
public LambdaFunctionMetadata withFunctionName(String functionName)
The name of a function.
functionName - The name of a function.public Map<String,String> getFunctionTags()
The resource tags on an Amazon Web Services Lambda function.
public void setFunctionTags(Map<String,String> functionTags)
The resource tags on an Amazon Web Services Lambda function.
functionTags - The resource tags on an Amazon Web Services Lambda function.public LambdaFunctionMetadata withFunctionTags(Map<String,String> functionTags)
The resource tags on an Amazon Web Services Lambda function.
functionTags - The resource tags on an Amazon Web Services Lambda function.public LambdaFunctionMetadata addFunctionTagsEntry(String key, String value)
public LambdaFunctionMetadata clearFunctionTagsEntries()
public List<String> getLayers()
The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.
public void setLayers(Collection<String> layers)
The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.
layers - The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.public LambdaFunctionMetadata withLayers(String... layers)
The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.
NOTE: This method appends the values to the existing list (if any). Use
setLayers(java.util.Collection) or withLayers(java.util.Collection) if you want to override the
existing values.
layers - The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.public LambdaFunctionMetadata withLayers(Collection<String> layers)
The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.
layers - The layers for an Amazon Web Services Lambda function. A Lambda function can have up to five layers.public void setRuntime(String runtime)
An Amazon Web Services Lambda function's runtime.
runtime - An Amazon Web Services Lambda function's runtime.Runtimepublic String getRuntime()
An Amazon Web Services Lambda function's runtime.
Runtimepublic LambdaFunctionMetadata withRuntime(String runtime)
An Amazon Web Services Lambda function's runtime.
runtime - An Amazon Web Services Lambda function's runtime.Runtimepublic LambdaFunctionMetadata withRuntime(Runtime runtime)
An Amazon Web Services Lambda function's runtime.
runtime - An Amazon Web Services Lambda function's runtime.Runtimepublic String toString()
toString in class ObjectObject.toString()public LambdaFunctionMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.