@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaFunctionRecipeSource extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an Lambda function to import to create a component.
Constructor and Description |
---|
LambdaFunctionRecipeSource() |
Modifier and Type | Method and Description |
---|---|
LambdaFunctionRecipeSource |
addComponentDependenciesEntry(String key,
ComponentDependencyRequirement value)
Add a single ComponentDependencies entry
|
LambdaFunctionRecipeSource |
clearComponentDependenciesEntries()
Removes all the entries added into ComponentDependencies.
|
LambdaFunctionRecipeSource |
clone() |
boolean |
equals(Object obj) |
Map<String,ComponentDependencyRequirement> |
getComponentDependencies()
The component versions on which this Lambda function component depends.
|
LambdaExecutionParameters |
getComponentLambdaParameters()
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
|
String |
getComponentName()
The name of the component.
|
List<ComponentPlatform> |
getComponentPlatforms()
The platforms that the component version supports.
|
String |
getComponentVersion()
The version of the component.
|
String |
getLambdaArn()
The ARN of the Lambda
function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComponentDependencies(Map<String,ComponentDependencyRequirement> componentDependencies)
The component versions on which this Lambda function component depends.
|
void |
setComponentLambdaParameters(LambdaExecutionParameters componentLambdaParameters)
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
|
void |
setComponentName(String componentName)
The name of the component.
|
void |
setComponentPlatforms(Collection<ComponentPlatform> componentPlatforms)
The platforms that the component version supports.
|
void |
setComponentVersion(String componentVersion)
The version of the component.
|
void |
setLambdaArn(String lambdaArn)
The ARN of the Lambda
function.
|
String |
toString()
Returns a string representation of this object.
|
LambdaFunctionRecipeSource |
withComponentDependencies(Map<String,ComponentDependencyRequirement> componentDependencies)
The component versions on which this Lambda function component depends.
|
LambdaFunctionRecipeSource |
withComponentLambdaParameters(LambdaExecutionParameters componentLambdaParameters)
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
|
LambdaFunctionRecipeSource |
withComponentName(String componentName)
The name of the component.
|
LambdaFunctionRecipeSource |
withComponentPlatforms(Collection<ComponentPlatform> componentPlatforms)
The platforms that the component version supports.
|
LambdaFunctionRecipeSource |
withComponentPlatforms(ComponentPlatform... componentPlatforms)
The platforms that the component version supports.
|
LambdaFunctionRecipeSource |
withComponentVersion(String componentVersion)
The version of the component.
|
LambdaFunctionRecipeSource |
withLambdaArn(String lambdaArn)
The ARN of the Lambda
function.
|
public void setLambdaArn(String lambdaArn)
The ARN of the Lambda
function. The ARN must include the version of the function to import. You can't use version aliases like
$LATEST
.
lambdaArn
- The ARN of the
Lambda function. The ARN must include the version of the function to import. You can't use version aliases
like $LATEST
.public String getLambdaArn()
The ARN of the Lambda
function. The ARN must include the version of the function to import. You can't use version aliases like
$LATEST
.
$LATEST
.public LambdaFunctionRecipeSource withLambdaArn(String lambdaArn)
The ARN of the Lambda
function. The ARN must include the version of the function to import. You can't use version aliases like
$LATEST
.
lambdaArn
- The ARN of the
Lambda function. The ARN must include the version of the function to import. You can't use version aliases
like $LATEST
.public void setComponentName(String componentName)
The name of the component.
Defaults to the name of the Lambda function.
componentName
- The name of the component.
Defaults to the name of the Lambda function.
public String getComponentName()
The name of the component.
Defaults to the name of the Lambda function.
Defaults to the name of the Lambda function.
public LambdaFunctionRecipeSource withComponentName(String componentName)
The name of the component.
Defaults to the name of the Lambda function.
componentName
- The name of the component.
Defaults to the name of the Lambda function.
public void setComponentVersion(String componentVersion)
The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function version is
3
, the component version becomes 3.0.0
.
componentVersion
- The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function
version is 3
, the component version becomes 3.0.0
.
public String getComponentVersion()
The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function version is
3
, the component version becomes 3.0.0
.
Defaults to the version of the Lambda function as a semantic version. For example, if your function
version is 3
, the component version becomes 3.0.0
.
public LambdaFunctionRecipeSource withComponentVersion(String componentVersion)
The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function version is
3
, the component version becomes 3.0.0
.
componentVersion
- The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function
version is 3
, the component version becomes 3.0.0
.
public List<ComponentPlatform> getComponentPlatforms()
The platforms that the component version supports.
public void setComponentPlatforms(Collection<ComponentPlatform> componentPlatforms)
The platforms that the component version supports.
componentPlatforms
- The platforms that the component version supports.public LambdaFunctionRecipeSource withComponentPlatforms(ComponentPlatform... componentPlatforms)
The platforms that the component version supports.
NOTE: This method appends the values to the existing list (if any). Use
setComponentPlatforms(java.util.Collection)
or withComponentPlatforms(java.util.Collection)
if
you want to override the existing values.
componentPlatforms
- The platforms that the component version supports.public LambdaFunctionRecipeSource withComponentPlatforms(Collection<ComponentPlatform> componentPlatforms)
The platforms that the component version supports.
componentPlatforms
- The platforms that the component version supports.public Map<String,ComponentDependencyRequirement> getComponentDependencies()
The component versions on which this Lambda function component depends.
public void setComponentDependencies(Map<String,ComponentDependencyRequirement> componentDependencies)
The component versions on which this Lambda function component depends.
componentDependencies
- The component versions on which this Lambda function component depends.public LambdaFunctionRecipeSource withComponentDependencies(Map<String,ComponentDependencyRequirement> componentDependencies)
The component versions on which this Lambda function component depends.
componentDependencies
- The component versions on which this Lambda function component depends.public LambdaFunctionRecipeSource addComponentDependenciesEntry(String key, ComponentDependencyRequirement value)
public LambdaFunctionRecipeSource clearComponentDependenciesEntries()
public void setComponentLambdaParameters(LambdaExecutionParameters componentLambdaParameters)
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
componentLambdaParameters
- The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.public LambdaExecutionParameters getComponentLambdaParameters()
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
public LambdaFunctionRecipeSource withComponentLambdaParameters(LambdaExecutionParameters componentLambdaParameters)
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
componentLambdaParameters
- The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.public String toString()
toString
in class Object
Object.toString()
public LambdaFunctionRecipeSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.