public class ScheduleLambdaFunctionDecisionAttributes
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
id
Required. The SWF
id of the AWS Lambda task. |
private java.lang.String |
input
The input provided to the AWS Lambda function.
|
private java.lang.String |
name
Required. The name of the AWS Lambda function to invoke.
|
private java.lang.String |
startToCloseTimeout
If set, specifies the maximum duration the function may take to execute.
|
Constructor and Description |
---|
ScheduleLambdaFunctionDecisionAttributes() |
Modifier and Type | Method and Description |
---|---|
ScheduleLambdaFunctionDecisionAttributes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getId()
Required. The SWF
id of the AWS Lambda task. |
java.lang.String |
getInput()
The input provided to the AWS Lambda function.
|
java.lang.String |
getName()
Required. The name of the AWS Lambda function to invoke.
|
java.lang.String |
getStartToCloseTimeout()
If set, specifies the maximum duration the function may take to execute.
|
int |
hashCode() |
void |
setId(java.lang.String id)
Required. The SWF
id of the AWS Lambda task. |
void |
setInput(java.lang.String input)
The input provided to the AWS Lambda function.
|
void |
setName(java.lang.String name)
Required. The name of the AWS Lambda function to invoke.
|
void |
setStartToCloseTimeout(java.lang.String startToCloseTimeout)
If set, specifies the maximum duration the function may take to execute.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ScheduleLambdaFunctionDecisionAttributes |
withId(java.lang.String id)
Required. The SWF
id of the AWS Lambda task. |
ScheduleLambdaFunctionDecisionAttributes |
withInput(java.lang.String input)
The input provided to the AWS Lambda function.
|
ScheduleLambdaFunctionDecisionAttributes |
withName(java.lang.String name)
Required. The name of the AWS Lambda function to invoke.
|
ScheduleLambdaFunctionDecisionAttributes |
withStartToCloseTimeout(java.lang.String startToCloseTimeout)
If set, specifies the maximum duration the function may take to execute.
|
private java.lang.String 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 quotarnquot.
private java.lang.String name
Required. The name of the AWS Lambda function to invoke.
private java.lang.String input
The input provided to the AWS Lambda function.
private java.lang.String startToCloseTimeout
If set, specifies the maximum duration the function may take to execute.
public ScheduleLambdaFunctionDecisionAttributes()
public void setId(java.lang.String 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 quotarnquot.
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),
|
public java.lang.String getId()
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 quotarnquot.
id
of the AWS Lambda task.
The specified string must not start or end with whitespace. It
must not contain a :
(colon), /
(slash), |
public ScheduleLambdaFunctionDecisionAttributes withId(java.lang.String 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 quotarnquot.
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),
|
public void setName(java.lang.String name)
Required. The name of the AWS Lambda function to invoke.
name
- Required.public java.lang.String getName()
Required. The name of the AWS Lambda function to invoke.
public ScheduleLambdaFunctionDecisionAttributes withName(java.lang.String name)
Required. The name of the AWS Lambda function to invoke.
name
- Required.public void setInput(java.lang.String input)
The input provided to the AWS Lambda function.
input
- The input provided to the AWS Lambda function.public java.lang.String getInput()
The input provided to the AWS Lambda function.
public ScheduleLambdaFunctionDecisionAttributes withInput(java.lang.String input)
The input provided to the AWS Lambda function.
input
- The input provided to the AWS Lambda function.public void setStartToCloseTimeout(java.lang.String startToCloseTimeout)
If set, specifies the maximum duration the function may take to execute.
startToCloseTimeout
- If set, specifies the maximum duration the function may take to
execute.public java.lang.String getStartToCloseTimeout()
If set, specifies the maximum duration the function may take to execute.
public ScheduleLambdaFunctionDecisionAttributes withStartToCloseTimeout(java.lang.String startToCloseTimeout)
If set, specifies the maximum duration the function may take to execute.
startToCloseTimeout
- If set, specifies the maximum duration the function may take to
execute.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ScheduleLambdaFunctionDecisionAttributes clone()
clone
in class java.lang.Object