Class LambdaFunctionScheduledEventAttributes
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.LambdaFunctionScheduledEventAttributes
-
- All Implemented Interfaces:
Serializable,Cloneable
public class LambdaFunctionScheduledEventAttributes extends Object implements Serializable, Cloneable
Provides details for the
LambdaFunctionScheduledevent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LambdaFunctionScheduledEventAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LambdaFunctionScheduledEventAttributesclone()booleanequals(Object obj)LonggetDecisionTaskCompletedEventId()The ID of theDecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function.StringgetId()The unique Amazon SWF ID for the AWS Lambda task.StringgetInput()Input provided to the AWS Lambda function.StringgetName()The name of the scheduled AWS Lambda function.StringgetStartToCloseTimeout()The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.inthashCode()voidsetDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)The ID of theDecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function.voidsetId(String id)The unique Amazon SWF ID for the AWS Lambda task.voidsetInput(String input)Input provided to the AWS Lambda function.voidsetName(String name)The name of the scheduled AWS Lambda function.voidsetStartToCloseTimeout(String startToCloseTimeout)The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.StringtoString()Returns a string representation of this object; useful for testing and debugging.LambdaFunctionScheduledEventAttributeswithDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)The ID of theDecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function.LambdaFunctionScheduledEventAttributeswithId(String id)The unique Amazon SWF ID for the AWS Lambda task.LambdaFunctionScheduledEventAttributeswithInput(String input)Input provided to the AWS Lambda function.LambdaFunctionScheduledEventAttributeswithName(String name)The name of the scheduled AWS Lambda function.LambdaFunctionScheduledEventAttributeswithStartToCloseTimeout(String startToCloseTimeout)The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.
-
-
-
Method Detail
-
setId
public void setId(String id)
The unique Amazon SWF ID for the AWS Lambda task.
- Parameters:
id- The unique Amazon SWF ID for the AWS Lambda task.
-
getId
public String getId()
The unique Amazon SWF ID for the AWS Lambda task.
- Returns:
- The unique Amazon SWF ID for the AWS Lambda task.
-
withId
public LambdaFunctionScheduledEventAttributes withId(String id)
The unique Amazon SWF ID for the AWS Lambda task.
- Parameters:
id- The unique Amazon SWF ID for the AWS Lambda task.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The name of the scheduled AWS Lambda function.
- Parameters:
name- The name of the scheduled AWS Lambda function.
-
getName
public String getName()
The name of the scheduled AWS Lambda function.
- Returns:
- The name of the scheduled AWS Lambda function.
-
withName
public LambdaFunctionScheduledEventAttributes withName(String name)
The name of the scheduled AWS Lambda function.
- Parameters:
name- The name of the scheduled AWS Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInput
public void setInput(String input)
Input provided to the AWS Lambda function.
- Parameters:
input- Input provided to the AWS Lambda function.
-
getInput
public String getInput()
Input provided to the AWS Lambda function.
- Returns:
- Input provided to the AWS Lambda function.
-
withInput
public LambdaFunctionScheduledEventAttributes withInput(String input)
Input provided to the AWS Lambda function.
- Parameters:
input- 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)
The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.
- Parameters:
startToCloseTimeout- The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.
-
getStartToCloseTimeout
public String getStartToCloseTimeout()
The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.
- Returns:
- The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.
-
withStartToCloseTimeout
public LambdaFunctionScheduledEventAttributes withStartToCloseTimeout(String startToCloseTimeout)
The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.
- Parameters:
startToCloseTimeout- The maximum time, in seconds, that the AWS Lambda function can take to execute from start to close before it is marked as failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDecisionTaskCompletedEventId
public void setDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
decisionTaskCompletedEventId- The ID of theDecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getDecisionTaskCompletedEventId
public Long getDecisionTaskCompletedEventId()
The ID of the
DecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
DecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withDecisionTaskCompletedEventId
public LambdaFunctionScheduledEventAttributes withDecisionTaskCompletedEventId(Long decisionTaskCompletedEventId)
The ID of the
DecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
decisionTaskCompletedEventId- The ID of theDecisionTaskCompletedevent for the decision that resulted in the scheduling of this AWS Lambda function. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- 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 LambdaFunctionScheduledEventAttributes clone()
-
-