public class ScheduleLambdaFunctionDecisionAttributes extends Object implements Serializable, Cloneable
 Provides details of the ScheduleLambdaFunction decision.
 
Access Control
You can use IAM policies to control this decision's access to Amazon SWF resources as follows:
Resource element with the domain name to limit
 the action to only specified domains.Action element to allow or deny permission to
 call this action.Condition element with the appropriate keys.
 activityType.name : String constraint. The key is
 swf:activityType.name .activityType.version : String constraint. The key
 is swf:activityType.version .taskList : String constraint. The key is
 swf: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 .
| Constructor and Description | 
|---|
| ScheduleLambdaFunctionDecisionAttributes() | 
| Modifier and Type | Method and Description | 
|---|---|
| ScheduleLambdaFunctionDecisionAttributes | clone() | 
| boolean | equals(Object obj) | 
| String | getId()Required. The SWF  idof the AWS Lambda task. | 
| String | getInput()The input provided to the AWS Lambda function. | 
| String | getName()Required. The name of the AWS Lambda function to invoke. | 
| String | getStartToCloseTimeout()If set, specifies the maximum duration the function may take to
 execute. | 
| int | hashCode() | 
| void | setId(String id)Required. The SWF  idof the AWS Lambda task. | 
| void | setInput(String input)The input provided to the AWS Lambda function. | 
| void | setName(String name)Required. The name of the AWS Lambda function to invoke. | 
| void | setStartToCloseTimeout(String startToCloseTimeout)If set, specifies the maximum duration the function may take to
 execute. | 
| String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ScheduleLambdaFunctionDecisionAttributes | withId(String id)Required. The SWF  idof the AWS Lambda task. | 
| ScheduleLambdaFunctionDecisionAttributes | withInput(String input)The input provided to the AWS Lambda function. | 
| ScheduleLambdaFunctionDecisionAttributes | withName(String name)Required. The name of the AWS Lambda function to invoke. | 
| ScheduleLambdaFunctionDecisionAttributes | withStartToCloseTimeout(String startToCloseTimeout)If set, specifies the maximum duration the function may take to
 execute. | 
public ScheduleLambdaFunctionDecisionAttributes()
public String getId()
id of 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 "arn".
 
 Constraints:
 Length: 1 - 256
id of 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 "arn".
public void setId(String id)
id of 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 "arn".
 
 Constraints:
 Length: 1 - 256
id - Required. The SWF id of 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 "arn".
public ScheduleLambdaFunctionDecisionAttributes withId(String id)
id of 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 "arn".
 
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 256
id - Required. The SWF id of 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 "arn".
public String getName()
 Constraints:
 Length: 1 - 64
public void setName(String name)
 Constraints:
 Length: 1 - 64
name - Required. The name of the AWS Lambda function to invoke.public ScheduleLambdaFunctionDecisionAttributes withName(String name)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 64
name - Required. The name of the AWS Lambda function to invoke.public String getInput()
 Constraints:
 Length: 1 - 32768
public void setInput(String input)
 Constraints:
 Length: 1 - 32768
input - The input provided to the AWS Lambda function.public ScheduleLambdaFunctionDecisionAttributes withInput(String input)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 32768
input - The input provided to the AWS Lambda function.public String getStartToCloseTimeout()
 Constraints:
 Length: 0 - 8
public void setStartToCloseTimeout(String startToCloseTimeout)
 Constraints:
 Length: 0 - 8
startToCloseTimeout - If set, specifies the maximum duration the function may take to
         execute.public ScheduleLambdaFunctionDecisionAttributes withStartToCloseTimeout(String startToCloseTimeout)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 8
startToCloseTimeout - If set, specifies the maximum duration the function may take to
         execute.public String toString()
toString in class ObjectObject.toString()public ScheduleLambdaFunctionDecisionAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.