@Generated(value="software.amazon.awssdk:codegen") public final class LambdaActivity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LambdaActivity.Builder,LambdaActivity>
An activity that runs a Lambda function to modify the message.
Modifier and Type | Class and Description |
---|---|
static interface |
LambdaActivity.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
batchSize()
The number of messages passed to the Lambda function for processing.
|
static LambdaActivity.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lambdaName()
The name of the Lambda function that is run on the message.
|
String |
name()
The name of the lambda activity.
|
String |
next()
The next activity in the pipeline.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends LambdaActivity.Builder> |
serializableBuilderClass() |
LambdaActivity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String name()
The name of the lambda activity.
public final String lambdaName()
The name of the Lambda function that is run on the message.
public final Integer batchSize()
The number of messages passed to the Lambda function for processing.
The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
The Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
public final String next()
The next activity in the pipeline.
public LambdaActivity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<LambdaActivity.Builder,LambdaActivity>
public static LambdaActivity.Builder builder()
public static Class<? extends LambdaActivity.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()