Class ScheduleLambdaFunctionDecisionAttributes
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.ScheduleLambdaFunctionDecisionAttributes
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ScheduleLambdaFunctionDecisionAttributes extends Object implements Serializable, Cloneable
Provides details of the
ScheduleLambdaFunctiondecision.Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
- Use a
Resourceelement with the domain name to limit the action to only specified domains. - Use an
Actionelement to allow or deny permission to call this action. - Constrain the following parameters by using a
Conditionelement with the appropriate keys.activityType.name: String constraint. The key isswf:activityType.name.activityType.version: String constraint. The key isswf:activityType.version.taskList: String constraint. The key isswf:taskList.name.
If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails. The associated event attribute's cause parameter will be set to OPERATION_NOT_PERMITTED. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScheduleLambdaFunctionDecisionAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleLambdaFunctionDecisionAttributesclone()booleanequals(Object obj)StringgetId()Required. The SWFidof the AWS Lambda task.StringgetInput()The input provided to the AWS Lambda function.StringgetName()Required. The name of the AWS Lambda function to invoke.StringgetStartToCloseTimeout()If set, specifies the maximum duration the function may take to execute.inthashCode()voidsetId(String id)Required. The SWFidof the AWS Lambda task.voidsetInput(String input)The input provided to the AWS Lambda function.voidsetName(String name)Required. The name of the AWS Lambda function to invoke.voidsetStartToCloseTimeout(String startToCloseTimeout)If set, specifies the maximum duration the function may take to execute.StringtoString()Returns a string representation of this object; useful for testing and debugging.ScheduleLambdaFunctionDecisionAttributeswithId(String id)Required. The SWFidof the AWS Lambda task.ScheduleLambdaFunctionDecisionAttributeswithInput(String input)The input provided to the AWS Lambda function.ScheduleLambdaFunctionDecisionAttributeswithName(String name)Required. The name of the AWS Lambda function to invoke.ScheduleLambdaFunctionDecisionAttributeswithStartToCloseTimeout(String startToCloseTimeout)If set, specifies the maximum duration the function may take to execute.
-
-
-
Method Detail
-
setId
public void setId(String id)
Required. The SWF
idof the AWS Lambda task.The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.- Parameters:
id- Required. The SWFidof the AWS Lambda task.The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|
-
getId
public String getId()
Required. The SWF
idof the AWS Lambda task.The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.- Returns:
- Required. The SWF
idof the AWS Lambda task.The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|
-
withId
public ScheduleLambdaFunctionDecisionAttributes withId(String id)
Required. The SWF
idof the AWS Lambda task.The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|(vertical bar), or any control characters ( - | - ). Also, it must not contain the literal string quotarnquot.- Parameters:
id- Required. The SWFidof the AWS Lambda task.The specified string must not start or end with whitespace. It must not contain a
:(colon),/(slash),|- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
Required. The name of the AWS Lambda function to invoke.
- Parameters:
name- Required.
-
getName
public String getName()
Required. The name of the AWS Lambda function to invoke.
- Returns:
- Required.
-
withName
public ScheduleLambdaFunctionDecisionAttributes withName(String name)
Required. The name of the AWS Lambda function to invoke.
- Parameters:
name- Required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInput
public void setInput(String input)
The input provided to the AWS Lambda function.
- Parameters:
input- The input provided to the AWS Lambda function.
-
getInput
public String getInput()
The input provided to the AWS Lambda function.
- Returns:
- The input provided to the AWS Lambda function.
-
withInput
public ScheduleLambdaFunctionDecisionAttributes withInput(String input)
The input provided to the AWS Lambda function.
- Parameters:
input- The input provided to the AWS Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartToCloseTimeout
public void setStartToCloseTimeout(String startToCloseTimeout)
If set, specifies the maximum duration the function may take to execute.
- Parameters:
startToCloseTimeout- If set, specifies the maximum duration the function may take to execute.
-
getStartToCloseTimeout
public String getStartToCloseTimeout()
If set, specifies the maximum duration the function may take to execute.
- Returns:
- If set, specifies the maximum duration the function may take to execute.
-
withStartToCloseTimeout
public ScheduleLambdaFunctionDecisionAttributes withStartToCloseTimeout(String startToCloseTimeout)
If set, specifies the maximum duration the function may take to execute.
- Parameters:
startToCloseTimeout- If set, specifies the maximum duration the function may take to execute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ScheduleLambdaFunctionDecisionAttributes clone()
-
-