@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LambdaActivity extends Object implements Serializable, Cloneable, StructuredPojo
An activity that runs a Lambda function to modify the message.
Constructor and Description |
---|
LambdaActivity() |
Modifier and Type | Method and Description |
---|---|
LambdaActivity |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
The number of messages passed to the Lambda function for processing.
|
String |
getLambdaName()
The name of the Lambda function that is run on the message.
|
String |
getName()
The name of the 'lambda' activity.
|
String |
getNext()
The next activity in the pipeline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchSize(Integer batchSize)
The number of messages passed to the Lambda function for processing.
|
void |
setLambdaName(String lambdaName)
The name of the Lambda function that is run on the message.
|
void |
setName(String name)
The name of the 'lambda' activity.
|
void |
setNext(String next)
The next activity in the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
LambdaActivity |
withBatchSize(Integer batchSize)
The number of messages passed to the Lambda function for processing.
|
LambdaActivity |
withLambdaName(String lambdaName)
The name of the Lambda function that is run on the message.
|
LambdaActivity |
withName(String name)
The name of the 'lambda' activity.
|
LambdaActivity |
withNext(String next)
The next activity in the pipeline.
|
public void setName(String name)
The name of the 'lambda' activity.
name
- The name of the 'lambda' activity.public String getName()
The name of the 'lambda' activity.
public LambdaActivity withName(String name)
The name of the 'lambda' activity.
name
- The name of the 'lambda' activity.public void setLambdaName(String lambdaName)
The name of the Lambda function that is run on the message.
lambdaName
- The name of the Lambda function that is run on the message.public String getLambdaName()
The name of the Lambda function that is run on the message.
public LambdaActivity withLambdaName(String lambdaName)
The name of the Lambda function that is run on the message.
lambdaName
- The name of the Lambda function that is run on the message.public void setBatchSize(Integer batchSize)
The number of messages passed to the Lambda function for processing.
The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
batchSize
- The number of messages passed to the Lambda function for processing.
The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
public Integer getBatchSize()
The number of messages passed to the Lambda function for processing.
The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
public LambdaActivity withBatchSize(Integer batchSize)
The number of messages passed to the Lambda function for processing.
The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
batchSize
- The number of messages passed to the Lambda function for processing.
The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
public void setNext(String next)
The next activity in the pipeline.
next
- The next activity in the pipeline.public String getNext()
The next activity in the pipeline.
public LambdaActivity withNext(String next)
The next activity in the pipeline.
next
- The next activity in the pipeline.public String toString()
toString
in class Object
Object.toString()
public LambdaActivity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.