@Generated(value="software.amazon.awssdk:codegen") public final class EventSourceMappingConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EventSourceMappingConfiguration.Builder,EventSourceMappingConfiguration>
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
Modifier and Type | Class and Description |
---|---|
static interface |
EventSourceMappingConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
batchSize()
The maximum number of items to retrieve in a single batch.
|
Boolean |
bisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry.
|
static EventSourceMappingConfiguration.Builder |
builder() |
DestinationConfig |
destinationConfig()
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
String |
functionArn()
The ARN of the Lambda function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModified()
The date that the event source mapping was last updated, or its state changed.
|
String |
lastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
|
Integer |
maximumBatchingWindowInSeconds()
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
|
Integer |
maximumRecordAgeInSeconds()
(Streams) The maximum age of a record that Lambda sends to a function for processing.
|
Integer |
maximumRetryAttempts()
(Streams) The maximum number of times to retry when the function returns an error.
|
Integer |
parallelizationFactor()
(Streams) The number of batches to process from each shard concurrently.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EventSourceMappingConfiguration.Builder> |
serializableBuilderClass() |
String |
state()
The state of the event source mapping.
|
String |
stateTransitionReason()
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
|
EventSourceMappingConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uuid()
The identifier of the event source mapping.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String uuid()
The identifier of the event source mapping.
public Integer batchSize()
The maximum number of items to retrieve in a single batch.
public Integer maximumBatchingWindowInSeconds()
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
public Integer parallelizationFactor()
(Streams) The number of batches to process from each shard concurrently.
public String eventSourceArn()
The Amazon Resource Name (ARN) of the event source.
public String functionArn()
The ARN of the Lambda function.
public Instant lastModified()
The date that the event source mapping was last updated, or its state changed.
public String lastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
public String state()
The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
, Updating
, or Deleting
.
Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.public String stateTransitionReason()
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
public DestinationConfig destinationConfig()
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
public Integer maximumRecordAgeInSeconds()
(Streams) The maximum age of a record that Lambda sends to a function for processing.
public Boolean bisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry.
public Integer maximumRetryAttempts()
(Streams) The maximum number of times to retry when the function returns an error.
public EventSourceMappingConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<EventSourceMappingConfiguration.Builder,EventSourceMappingConfiguration>
public static EventSourceMappingConfiguration.Builder builder()
public static Class<? extends EventSourceMappingConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.