@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
Constructor and Description |
---|
DeleteEventSourceMappingResult() |
Modifier and Type | Method and Description |
---|---|
DeleteEventSourceMappingResult |
clone() |
boolean |
equals(Object obj) |
AmazonManagedKafkaEventSourceConfig |
getAmazonManagedKafkaEventSourceConfig()
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
Integer |
getBatchSize()
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your
function.
|
Boolean |
getBisectBatchOnFunctionError()
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
|
DestinationConfig |
getDestinationConfig()
(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object
that specifies the destination of an event after Lambda processes it.
|
DocumentDBEventSourceConfig |
getDocumentDBEventSourceConfig()
Specific configuration settings for a DocumentDB event source.
|
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
FilterCriteria |
getFilterCriteria()
An object that defines the filter criteria that determine whether Lambda should process an event.
|
String |
getFunctionArn()
The ARN of the Lambda function.
|
List<String> |
getFunctionResponseTypes()
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source
mapping.
|
Date |
getLastModified()
The date that the event source mapping was last updated or that its state changed.
|
String |
getLastProcessingResult()
The result of the last Lambda invocation of your function.
|
Integer |
getMaximumBatchingWindowInSeconds()
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
Integer |
getMaximumRecordAgeInSeconds()
(Kinesis and DynamoDB Streams only) Discard records older than the specified age.
|
Integer |
getMaximumRetryAttempts()
(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries.
|
Integer |
getParallelizationFactor()
(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard.
|
List<String> |
getQueues()
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
|
ScalingConfig |
getScalingConfig()
(Amazon SQS only) The scaling configuration for the event source.
|
SelfManagedEventSource |
getSelfManagedEventSource()
The self-managed Apache Kafka cluster for your event source.
|
SelfManagedKafkaEventSourceConfig |
getSelfManagedKafkaEventSourceConfig()
Specific configuration settings for a self-managed Apache Kafka event source.
|
List<SourceAccessConfiguration> |
getSourceAccessConfigurations()
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
|
String |
getStartingPosition()
The position in a stream from which to start reading.
|
Date |
getStartingPositionTimestamp()
With
StartingPosition set to AT_TIMESTAMP , the time from which to start reading. |
String |
getState()
The state of the event source mapping.
|
String |
getStateTransitionReason()
Indicates whether a user or Lambda made the last change to the event source mapping.
|
List<String> |
getTopics()
The name of the Kafka topic.
|
Integer |
getTumblingWindowInSeconds()
(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis
Streams event sources.
|
String |
getUUID()
The identifier of the event source mapping.
|
int |
hashCode() |
Boolean |
isBisectBatchOnFunctionError()
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
|
void |
setAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig amazonManagedKafkaEventSourceConfig)
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
void |
setBatchSize(Integer batchSize)
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your
function.
|
void |
setBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
|
void |
setDestinationConfig(DestinationConfig destinationConfig)
(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object
that specifies the destination of an event after Lambda processes it.
|
void |
setDocumentDBEventSourceConfig(DocumentDBEventSourceConfig documentDBEventSourceConfig)
Specific configuration settings for a DocumentDB event source.
|
void |
setEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
void |
setFilterCriteria(FilterCriteria filterCriteria)
An object that defines the filter criteria that determine whether Lambda should process an event.
|
void |
setFunctionArn(String functionArn)
The ARN of the Lambda function.
|
void |
setFunctionResponseTypes(Collection<String> functionResponseTypes)
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source
mapping.
|
void |
setLastModified(Date lastModified)
The date that the event source mapping was last updated or that its state changed.
|
void |
setLastProcessingResult(String lastProcessingResult)
The result of the last Lambda invocation of your function.
|
void |
setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
void |
setMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Kinesis and DynamoDB Streams only) Discard records older than the specified age.
|
void |
setMaximumRetryAttempts(Integer maximumRetryAttempts)
(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries.
|
void |
setParallelizationFactor(Integer parallelizationFactor)
(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard.
|
void |
setQueues(Collection<String> queues)
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
|
void |
setScalingConfig(ScalingConfig scalingConfig)
(Amazon SQS only) The scaling configuration for the event source.
|
void |
setSelfManagedEventSource(SelfManagedEventSource selfManagedEventSource)
The self-managed Apache Kafka cluster for your event source.
|
void |
setSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig selfManagedKafkaEventSourceConfig)
Specific configuration settings for a self-managed Apache Kafka event source.
|
void |
setSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
|
void |
setStartingPosition(String startingPosition)
The position in a stream from which to start reading.
|
void |
setStartingPositionTimestamp(Date startingPositionTimestamp)
With
StartingPosition set to AT_TIMESTAMP , the time from which to start reading. |
void |
setState(String state)
The state of the event source mapping.
|
void |
setStateTransitionReason(String stateTransitionReason)
Indicates whether a user or Lambda made the last change to the event source mapping.
|
void |
setTopics(Collection<String> topics)
The name of the Kafka topic.
|
void |
setTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis
Streams event sources.
|
void |
setUUID(String uUID)
The identifier of the event source mapping.
|
String |
toString()
Returns a string representation of this object.
|
DeleteEventSourceMappingResult |
withAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig amazonManagedKafkaEventSourceConfig)
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
DeleteEventSourceMappingResult |
withBatchSize(Integer batchSize)
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your
function.
|
DeleteEventSourceMappingResult |
withBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
|
DeleteEventSourceMappingResult |
withDestinationConfig(DestinationConfig destinationConfig)
(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object
that specifies the destination of an event after Lambda processes it.
|
DeleteEventSourceMappingResult |
withDocumentDBEventSourceConfig(DocumentDBEventSourceConfig documentDBEventSourceConfig)
Specific configuration settings for a DocumentDB event source.
|
DeleteEventSourceMappingResult |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
DeleteEventSourceMappingResult |
withFilterCriteria(FilterCriteria filterCriteria)
An object that defines the filter criteria that determine whether Lambda should process an event.
|
DeleteEventSourceMappingResult |
withFunctionArn(String functionArn)
The ARN of the Lambda function.
|
DeleteEventSourceMappingResult |
withFunctionResponseTypes(Collection<String> functionResponseTypes)
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source
mapping.
|
DeleteEventSourceMappingResult |
withFunctionResponseTypes(FunctionResponseType... functionResponseTypes)
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source
mapping.
|
DeleteEventSourceMappingResult |
withFunctionResponseTypes(String... functionResponseTypes)
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source
mapping.
|
DeleteEventSourceMappingResult |
withLastModified(Date lastModified)
The date that the event source mapping was last updated or that its state changed.
|
DeleteEventSourceMappingResult |
withLastProcessingResult(String lastProcessingResult)
The result of the last Lambda invocation of your function.
|
DeleteEventSourceMappingResult |
withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
|
DeleteEventSourceMappingResult |
withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Kinesis and DynamoDB Streams only) Discard records older than the specified age.
|
DeleteEventSourceMappingResult |
withMaximumRetryAttempts(Integer maximumRetryAttempts)
(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries.
|
DeleteEventSourceMappingResult |
withParallelizationFactor(Integer parallelizationFactor)
(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard.
|
DeleteEventSourceMappingResult |
withQueues(Collection<String> queues)
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
|
DeleteEventSourceMappingResult |
withQueues(String... queues)
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
|
DeleteEventSourceMappingResult |
withScalingConfig(ScalingConfig scalingConfig)
(Amazon SQS only) The scaling configuration for the event source.
|
DeleteEventSourceMappingResult |
withSelfManagedEventSource(SelfManagedEventSource selfManagedEventSource)
The self-managed Apache Kafka cluster for your event source.
|
DeleteEventSourceMappingResult |
withSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig selfManagedKafkaEventSourceConfig)
Specific configuration settings for a self-managed Apache Kafka event source.
|
DeleteEventSourceMappingResult |
withSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
|
DeleteEventSourceMappingResult |
withSourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations)
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
|
DeleteEventSourceMappingResult |
withStartingPosition(EventSourcePosition startingPosition)
The position in a stream from which to start reading.
|
DeleteEventSourceMappingResult |
withStartingPosition(String startingPosition)
The position in a stream from which to start reading.
|
DeleteEventSourceMappingResult |
withStartingPositionTimestamp(Date startingPositionTimestamp)
With
StartingPosition set to AT_TIMESTAMP , the time from which to start reading. |
DeleteEventSourceMappingResult |
withState(String state)
The state of the event source mapping.
|
DeleteEventSourceMappingResult |
withStateTransitionReason(String stateTransitionReason)
Indicates whether a user or Lambda made the last change to the event source mapping.
|
DeleteEventSourceMappingResult |
withTopics(Collection<String> topics)
The name of the Kafka topic.
|
DeleteEventSourceMappingResult |
withTopics(String... topics)
The name of the Kafka topic.
|
DeleteEventSourceMappingResult |
withTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis
Streams event sources.
|
DeleteEventSourceMappingResult |
withUUID(String uUID)
The identifier of the event source mapping.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUUID(String uUID)
The identifier of the event source mapping.
uUID
- The identifier of the event source mapping.public String getUUID()
The identifier of the event source mapping.
public DeleteEventSourceMappingResult withUUID(String uUID)
The identifier of the event source mapping.
uUID
- The identifier of the event source mapping.public void setStartingPosition(String startingPosition)
The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Stream
event sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon
MSK, and self-managed Apache Kafka.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB
Stream event sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams, Amazon
DocumentDB, Amazon MSK, and self-managed Apache Kafka.EventSourcePosition
public String getStartingPosition()
The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Stream
event sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon
MSK, and self-managed Apache Kafka.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams, Amazon
DocumentDB, Amazon MSK, and self-managed Apache Kafka.EventSourcePosition
public DeleteEventSourceMappingResult withStartingPosition(String startingPosition)
The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Stream
event sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon
MSK, and self-managed Apache Kafka.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB
Stream event sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams, Amazon
DocumentDB, Amazon MSK, and self-managed Apache Kafka.EventSourcePosition
public DeleteEventSourceMappingResult withStartingPosition(EventSourcePosition startingPosition)
The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB Stream
event sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams, Amazon DocumentDB, Amazon
MSK, and self-managed Apache Kafka.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis and Amazon DynamoDB
Stream event sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams, Amazon
DocumentDB, Amazon MSK, and self-managed Apache Kafka.EventSourcePosition
public void setStartingPositionTimestamp(Date startingPositionTimestamp)
With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
StartingPositionTimestamp
cannot be in the future.
startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
StartingPositionTimestamp
cannot be in the future.public Date getStartingPositionTimestamp()
With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
StartingPositionTimestamp
cannot be in the future.
StartingPosition
set to AT_TIMESTAMP
, the time from which to start
reading. StartingPositionTimestamp
cannot be in the future.public DeleteEventSourceMappingResult withStartingPositionTimestamp(Date startingPositionTimestamp)
With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
StartingPositionTimestamp
cannot be in the future.
startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
StartingPositionTimestamp
cannot be in the future.public void setBatchSize(Integer batchSize)
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
batchSize
- The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your
function. Lambda passes all of the records in the batch to the function in a single call, up to the
payload limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
public Integer getBatchSize()
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
public DeleteEventSourceMappingResult withBatchSize(Integer batchSize)
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
batchSize
- The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your
function. Lambda passes all of the records in the batch to the function in a single call, up to the
payload limit for synchronous invocation (6 MB).
Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
public void setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You
can configure MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300 seconds in
increments of seconds.
For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed
Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of seconds, you cannot revert back
to the 500 ms default batching window after you have changed it. To restore the default batching window, you must
create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set BatchSize
to a value greater
than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
You can configure MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300 seconds
in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK,
Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms.
Note that because you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To
restore the default batching window, you must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set BatchSize
to a value
greater than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
public Integer getMaximumBatchingWindowInSeconds()
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You
can configure MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300 seconds in
increments of seconds.
For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed
Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of seconds, you cannot revert back
to the 500 ms default batching window after you have changed it. To restore the default batching window, you must
create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set BatchSize
to a value greater
than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
MaximumBatchingWindowInSeconds
to any value from 0 seconds to
300 seconds in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK,
Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500
ms. Note that because you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To
restore the default batching window, you must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set BatchSize
to a value
greater than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
public DeleteEventSourceMappingResult withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. You
can configure MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300 seconds in
increments of seconds.
For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed
Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms. Note that because
you can only change MaximumBatchingWindowInSeconds
in increments of seconds, you cannot revert back
to the 500 ms default batching window after you have changed it. To restore the default batching window, you must
create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set BatchSize
to a value greater
than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
maximumBatchingWindowInSeconds
- The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
You can configure MaximumBatchingWindowInSeconds
to any value from 0 seconds to 300 seconds
in increments of seconds.
For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK,
Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default batching window is 500 ms.
Note that because you can only change MaximumBatchingWindowInSeconds
in increments of
seconds, you cannot revert back to the 500 ms default batching window after you have changed it. To
restore the default batching window, you must create a new event source mapping.
Related setting: For streams and Amazon SQS event sources, when you set BatchSize
to a value
greater than 10, you must set MaximumBatchingWindowInSeconds
to at least 1.
public void setParallelizationFactor(Integer parallelizationFactor)
(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
parallelizationFactor
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The
default value is 1.public Integer getParallelizationFactor()
(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
public DeleteEventSourceMappingResult withParallelizationFactor(Integer parallelizationFactor)
(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.
parallelizationFactor
- (Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The
default value is 1.public void setEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
eventSourceArn
- The Amazon Resource Name (ARN) of the event source.public String getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
public DeleteEventSourceMappingResult withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
eventSourceArn
- The Amazon Resource Name (ARN) of the event source.public void setFilterCriteria(FilterCriteria filterCriteria)
An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
filterCriteria
- An object that defines the filter criteria that determine whether Lambda should process an event. For more
information, see Lambda event
filtering.public FilterCriteria getFilterCriteria()
An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
public DeleteEventSourceMappingResult withFilterCriteria(FilterCriteria filterCriteria)
An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
filterCriteria
- An object that defines the filter criteria that determine whether Lambda should process an event. For more
information, see Lambda event
filtering.public void setFunctionArn(String functionArn)
The ARN of the Lambda function.
functionArn
- The ARN of the Lambda function.public String getFunctionArn()
The ARN of the Lambda function.
public DeleteEventSourceMappingResult withFunctionArn(String functionArn)
The ARN of the Lambda function.
functionArn
- The ARN of the Lambda function.public void setLastModified(Date lastModified)
The date that the event source mapping was last updated or that its state changed.
lastModified
- The date that the event source mapping was last updated or that its state changed.public Date getLastModified()
The date that the event source mapping was last updated or that its state changed.
public DeleteEventSourceMappingResult withLastModified(Date lastModified)
The date that the event source mapping was last updated or that its state changed.
lastModified
- The date that the event source mapping was last updated or that its state changed.public void setLastProcessingResult(String lastProcessingResult)
The result of the last Lambda invocation of your function.
lastProcessingResult
- The result of the last Lambda invocation of your function.public String getLastProcessingResult()
The result of the last Lambda invocation of your function.
public DeleteEventSourceMappingResult withLastProcessingResult(String lastProcessingResult)
The result of the last Lambda invocation of your function.
lastProcessingResult
- The result of the last Lambda invocation of your function.public void setState(String state)
The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
, Updating
, or Deleting
.
state
- The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.public String getState()
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 DeleteEventSourceMappingResult withState(String state)
The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
, Updating
, or Deleting
.
state
- The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.public void setStateTransitionReason(String stateTransitionReason)
Indicates whether a user or Lambda made the last change to the event source mapping.
stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event source mapping.public String getStateTransitionReason()
Indicates whether a user or Lambda made the last change to the event source mapping.
public DeleteEventSourceMappingResult withStateTransitionReason(String stateTransitionReason)
Indicates whether a user or Lambda made the last change to the event source mapping.
stateTransitionReason
- Indicates whether a user or Lambda made the last change to the event source mapping.public void setDestinationConfig(DestinationConfig destinationConfig)
(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
destinationConfig
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration
object that specifies the destination of an event after Lambda processes it.public DestinationConfig getDestinationConfig()
(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
public DeleteEventSourceMappingResult withDestinationConfig(DestinationConfig destinationConfig)
(Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration object that specifies the destination of an event after Lambda processes it.
destinationConfig
- (Kinesis, DynamoDB Streams, Amazon MSK, and self-managed Apache Kafka event sources only) A configuration
object that specifies the destination of an event after Lambda processes it.public List<String> getTopics()
The name of the Kafka topic.
public void setTopics(Collection<String> topics)
The name of the Kafka topic.
topics
- The name of the Kafka topic.public DeleteEventSourceMappingResult withTopics(String... topics)
The name of the Kafka topic.
NOTE: This method appends the values to the existing list (if any). Use
setTopics(java.util.Collection)
or withTopics(java.util.Collection)
if you want to override the
existing values.
topics
- The name of the Kafka topic.public DeleteEventSourceMappingResult withTopics(Collection<String> topics)
The name of the Kafka topic.
topics
- The name of the Kafka topic.public List<String> getQueues()
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
public void setQueues(Collection<String> queues)
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.public DeleteEventSourceMappingResult withQueues(String... queues)
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
NOTE: This method appends the values to the existing list (if any). Use
setQueues(java.util.Collection)
or withQueues(java.util.Collection)
if you want to override the
existing values.
queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.public DeleteEventSourceMappingResult withQueues(Collection<String> queues)
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
queues
- (Amazon MQ) The name of the Amazon MQ broker destination queue to consume.public List<SourceAccessConfiguration> getSourceAccessConfigurations()
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
public void setSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event
source.public DeleteEventSourceMappingResult withSourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations)
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
NOTE: This method appends the values to the existing list (if any). Use
setSourceAccessConfigurations(java.util.Collection)
or
withSourceAccessConfigurations(java.util.Collection)
if you want to override the existing values.
sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event
source.public DeleteEventSourceMappingResult withSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
sourceAccessConfigurations
- An array of the authentication protocol, VPC components, or virtual host to secure and define your event
source.public void setSelfManagedEventSource(SelfManagedEventSource selfManagedEventSource)
The self-managed Apache Kafka cluster for your event source.
selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.public SelfManagedEventSource getSelfManagedEventSource()
The self-managed Apache Kafka cluster for your event source.
public DeleteEventSourceMappingResult withSelfManagedEventSource(SelfManagedEventSource selfManagedEventSource)
The self-managed Apache Kafka cluster for your event source.
selfManagedEventSource
- The self-managed Apache Kafka cluster for your event source.public void setMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.
The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
maximumRecordAgeInSeconds
- (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1,
which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old
records. The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
public Integer getMaximumRecordAgeInSeconds()
(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.
The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
public DeleteEventSourceMappingResult withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.
The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
maximumRecordAgeInSeconds
- (Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1,
which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old
records. The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed
public void setBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
bisectBatchOnFunctionError
- (Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
The default value is false.public Boolean getBisectBatchOnFunctionError()
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
public DeleteEventSourceMappingResult withBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
bisectBatchOnFunctionError
- (Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.
The default value is false.public Boolean isBisectBatchOnFunctionError()
(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
public void setMaximumRetryAttempts(Integer maximumRetryAttempts)
(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
maximumRetryAttempts
- (Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default
value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite,
Lambda retries failed records until the record expires in the event source.public Integer getMaximumRetryAttempts()
(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
public DeleteEventSourceMappingResult withMaximumRetryAttempts(Integer maximumRetryAttempts)
(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.
maximumRetryAttempts
- (Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default
value is -1, which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite,
Lambda retries failed records until the record expires in the event source.public void setTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
tumblingWindowInSeconds
- (Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and
Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.public Integer getTumblingWindowInSeconds()
(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
public DeleteEventSourceMappingResult withTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.
tumblingWindowInSeconds
- (Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and
Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.public List<String> getFunctionResponseTypes()
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.
FunctionResponseType
public void setFunctionResponseTypes(Collection<String> functionResponseTypes)
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event
source mapping.FunctionResponseType
public DeleteEventSourceMappingResult withFunctionResponseTypes(String... functionResponseTypes)
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.
NOTE: This method appends the values to the existing list (if any). Use
setFunctionResponseTypes(java.util.Collection)
or
withFunctionResponseTypes(java.util.Collection)
if you want to override the existing values.
functionResponseTypes
- (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event
source mapping.FunctionResponseType
public DeleteEventSourceMappingResult withFunctionResponseTypes(Collection<String> functionResponseTypes)
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event
source mapping.FunctionResponseType
public DeleteEventSourceMappingResult withFunctionResponseTypes(FunctionResponseType... functionResponseTypes)
(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event
source mapping.FunctionResponseType
public void setAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig amazonManagedKafkaEventSourceConfig)
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event
source.public AmazonManagedKafkaEventSourceConfig getAmazonManagedKafkaEventSourceConfig()
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
public DeleteEventSourceMappingResult withAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig amazonManagedKafkaEventSourceConfig)
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
amazonManagedKafkaEventSourceConfig
- Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event
source.public void setSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig selfManagedKafkaEventSourceConfig)
Specific configuration settings for a self-managed Apache Kafka event source.
selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event source.public SelfManagedKafkaEventSourceConfig getSelfManagedKafkaEventSourceConfig()
Specific configuration settings for a self-managed Apache Kafka event source.
public DeleteEventSourceMappingResult withSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig selfManagedKafkaEventSourceConfig)
Specific configuration settings for a self-managed Apache Kafka event source.
selfManagedKafkaEventSourceConfig
- Specific configuration settings for a self-managed Apache Kafka event source.public void setScalingConfig(ScalingConfig scalingConfig)
(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
scalingConfig
- (Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring
maximum concurrency for Amazon SQS event sources.public ScalingConfig getScalingConfig()
(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
public DeleteEventSourceMappingResult withScalingConfig(ScalingConfig scalingConfig)
(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.
scalingConfig
- (Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring
maximum concurrency for Amazon SQS event sources.public void setDocumentDBEventSourceConfig(DocumentDBEventSourceConfig documentDBEventSourceConfig)
Specific configuration settings for a DocumentDB event source.
documentDBEventSourceConfig
- Specific configuration settings for a DocumentDB event source.public DocumentDBEventSourceConfig getDocumentDBEventSourceConfig()
Specific configuration settings for a DocumentDB event source.
public DeleteEventSourceMappingResult withDocumentDBEventSourceConfig(DocumentDBEventSourceConfig documentDBEventSourceConfig)
Specific configuration settings for a DocumentDB event source.
documentDBEventSourceConfig
- Specific configuration settings for a DocumentDB event source.public String toString()
toString
in class Object
Object.toString()
public DeleteEventSourceMappingResult clone()