@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEventSourceMappingResult 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 |
---|
GetEventSourceMappingResult() |
Modifier and Type | Method and Description |
---|---|
GetEventSourceMappingResult |
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()
(Streams only) If the function returns an error, split the batch in two and retry.
|
DestinationConfig |
getDestinationConfig()
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
FilterCriteria |
getFilterCriteria()
(Streams and Amazon SQS) 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()
(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()
(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function.
|
Integer |
getMaximumRecordAgeInSeconds()
(Streams only) Discard records older than the specified age.
|
Integer |
getMaximumRetryAttempts()
(Streams only) Discard records after the specified number of retries.
|
Integer |
getParallelizationFactor()
(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.
|
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()
(Streams only) The duration in seconds of a processing window.
|
String |
getUUID()
The identifier of the event source mapping.
|
int |
hashCode() |
Boolean |
isBisectBatchOnFunctionError()
(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)
(Streams only) If the function returns an error, split the batch in two and retry.
|
void |
setDestinationConfig(DestinationConfig destinationConfig)
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
void |
setEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
void |
setFilterCriteria(FilterCriteria filterCriteria)
(Streams and Amazon SQS) 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)
(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)
(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function.
|
void |
setMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams only) Discard records older than the specified age.
|
void |
setMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams only) Discard records after the specified number of retries.
|
void |
setParallelizationFactor(Integer parallelizationFactor)
(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 |
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)
(Streams only) The duration in seconds of a processing window.
|
void |
setUUID(String uUID)
The identifier of the event source mapping.
|
String |
toString()
Returns a string representation of this object.
|
GetEventSourceMappingResult |
withAmazonManagedKafkaEventSourceConfig(AmazonManagedKafkaEventSourceConfig amazonManagedKafkaEventSourceConfig)
Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.
|
GetEventSourceMappingResult |
withBatchSize(Integer batchSize)
The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your
function.
|
GetEventSourceMappingResult |
withBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams only) If the function returns an error, split the batch in two and retry.
|
GetEventSourceMappingResult |
withDestinationConfig(DestinationConfig destinationConfig)
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
GetEventSourceMappingResult |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
GetEventSourceMappingResult |
withFilterCriteria(FilterCriteria filterCriteria)
(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process
an event.
|
GetEventSourceMappingResult |
withFunctionArn(String functionArn)
The ARN of the Lambda function.
|
GetEventSourceMappingResult |
withFunctionResponseTypes(Collection<String> functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
|
GetEventSourceMappingResult |
withFunctionResponseTypes(FunctionResponseType... functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
|
GetEventSourceMappingResult |
withFunctionResponseTypes(String... functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
|
GetEventSourceMappingResult |
withLastModified(Date lastModified)
The date that the event source mapping was last updated or that its state changed.
|
GetEventSourceMappingResult |
withLastProcessingResult(String lastProcessingResult)
The result of the last Lambda invocation of your function.
|
GetEventSourceMappingResult |
withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering
records before invoking the function.
|
GetEventSourceMappingResult |
withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams only) Discard records older than the specified age.
|
GetEventSourceMappingResult |
withMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams only) Discard records after the specified number of retries.
|
GetEventSourceMappingResult |
withParallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process concurrently from each shard.
|
GetEventSourceMappingResult |
withQueues(Collection<String> queues)
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
|
GetEventSourceMappingResult |
withQueues(String... queues)
(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.
|
GetEventSourceMappingResult |
withSelfManagedEventSource(SelfManagedEventSource selfManagedEventSource)
The self-managed Apache Kafka cluster for your event source.
|
GetEventSourceMappingResult |
withSelfManagedKafkaEventSourceConfig(SelfManagedKafkaEventSourceConfig selfManagedKafkaEventSourceConfig)
Specific configuration settings for a self-managed Apache Kafka event source.
|
GetEventSourceMappingResult |
withSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
|
GetEventSourceMappingResult |
withSourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations)
An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.
|
GetEventSourceMappingResult |
withStartingPosition(EventSourcePosition startingPosition)
The position in a stream from which to start reading.
|
GetEventSourceMappingResult |
withStartingPosition(String startingPosition)
The position in a stream from which to start reading.
|
GetEventSourceMappingResult |
withStartingPositionTimestamp(Date startingPositionTimestamp)
With
StartingPosition set to AT_TIMESTAMP , the time from which to start reading. |
GetEventSourceMappingResult |
withState(String state)
The state of the event source mapping.
|
GetEventSourceMappingResult |
withStateTransitionReason(String stateTransitionReason)
Indicates whether a user or Lambda made the last change to the event source mapping.
|
GetEventSourceMappingResult |
withTopics(Collection<String> topics)
The name of the Kafka topic.
|
GetEventSourceMappingResult |
withTopics(String... topics)
The name of the Kafka topic.
|
GetEventSourceMappingResult |
withTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Streams only) The duration in seconds of a processing window.
|
GetEventSourceMappingResult |
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 GetEventSourceMappingResult 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, Amazon DynamoDB, and Amazon
MSK stream sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and
Amazon MSK stream sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams.EventSourcePosition
public String getStartingPosition()
The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon
MSK stream sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
AT_TIMESTAMP
is supported only for Amazon Kinesis streams.EventSourcePosition
public GetEventSourceMappingResult withStartingPosition(String startingPosition)
The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon
MSK stream sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and
Amazon MSK stream sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams.EventSourcePosition
public GetEventSourceMappingResult withStartingPosition(EventSourcePosition startingPosition)
The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and Amazon
MSK stream sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and
Amazon MSK stream sources. AT_TIMESTAMP
is supported only for Amazon Kinesis streams.EventSourcePosition
public void setStartingPositionTimestamp(Date startingPositionTimestamp)
With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.public Date getStartingPositionTimestamp()
With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
StartingPosition
set to AT_TIMESTAMP
, the time from which to start
reading.public GetEventSourceMappingResult withStartingPositionTimestamp(Date startingPositionTimestamp)
With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.
startingPositionTimestamp
- With StartingPosition
set to AT_TIMESTAMP
, the time from which to start reading.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 GetEventSourceMappingResult 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)
(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends
gathering records before invoking the function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
public Integer getMaximumBatchingWindowInSeconds()
(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
public GetEventSourceMappingResult withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
maximumBatchingWindowInSeconds
- (Streams and Amazon SQS standard queues) The maximum amount of time, in seconds, that Lambda spends
gathering records before invoking the function.
Default: 0
Related setting: When you set BatchSize
to a value greater than 10, you must set
MaximumBatchingWindowInSeconds
to at least 1.
public void setParallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
parallelizationFactor
- (Streams only) The number of batches to process concurrently from each shard. The default value is 1.public Integer getParallelizationFactor()
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
public GetEventSourceMappingResult withParallelizationFactor(Integer parallelizationFactor)
(Streams only) The number of batches to process concurrently from each shard. The default value is 1.
parallelizationFactor
- (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 GetEventSourceMappingResult 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)
(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
filterCriteria
- (Streams and Amazon SQS) 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()
(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
public GetEventSourceMappingResult withFilterCriteria(FilterCriteria filterCriteria)
(Streams and Amazon SQS) An object that defines the filter criteria that determine whether Lambda should process an event. For more information, see Lambda event filtering.
filterCriteria
- (Streams and Amazon SQS) 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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)
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.public DestinationConfig getDestinationConfig()
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
public GetEventSourceMappingResult withDestinationConfig(DestinationConfig destinationConfig)
(Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
destinationConfig
- (Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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)
(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.
maximumRecordAgeInSeconds
- (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.public Integer getMaximumRecordAgeInSeconds()
(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.
public GetEventSourceMappingResult withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(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.
maximumRecordAgeInSeconds
- (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.public void setBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two and retry. The default value is
false.public Boolean getBisectBatchOnFunctionError()
(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
public GetEventSourceMappingResult withBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams only) If the function returns an error, split the batch in two and retry. The default value is false.
bisectBatchOnFunctionError
- (Streams only) If the function returns an error, split the batch in two and retry. The default value is
false.public Boolean isBisectBatchOnFunctionError()
(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)
(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
- (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()
(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 GetEventSourceMappingResult withMaximumRetryAttempts(Integer maximumRetryAttempts)
(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
- (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)
(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.
tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.public Integer getTumblingWindowInSeconds()
(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.
public GetEventSourceMappingResult withTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.
tumblingWindowInSeconds
- (Streams only) The duration in seconds of a processing window. The range is 1–900 seconds.public List<String> getFunctionResponseTypes()
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
FunctionResponseType
public void setFunctionResponseTypes(Collection<String> functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.FunctionResponseType
public GetEventSourceMappingResult withFunctionResponseTypes(String... functionResponseTypes)
(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
- (Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.FunctionResponseType
public GetEventSourceMappingResult withFunctionResponseTypes(Collection<String> functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.FunctionResponseType
public GetEventSourceMappingResult withFunctionResponseTypes(FunctionResponseType... functionResponseTypes)
(Streams and Amazon SQS) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 String toString()
toString
in class Object
Object.toString()
public GetEventSourceMappingResult clone()
Copyright © 2022. All rights reserved.