@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
Constructor and Description |
---|
GetEventSourceMappingResult() |
Modifier and Type | Method and Description |
---|---|
GetEventSourceMappingResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
The maximum number of items to retrieve in a single batch.
|
Boolean |
getBisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry.
|
DestinationConfig |
getDestinationConfig()
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
String |
getFunctionArn()
The ARN of the Lambda function.
|
List<String> |
getFunctionResponseTypes()
(Streams) 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 its state changed.
|
String |
getLastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
|
Integer |
getMaximumBatchingWindowInSeconds()
(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in
seconds.
|
Integer |
getMaximumRecordAgeInSeconds()
(Streams) Discard records older than the specified age.
|
Integer |
getMaximumRetryAttempts()
(Streams) Discard records after the specified number of retries.
|
Integer |
getParallelizationFactor()
(Streams) The number of batches to process from each shard concurrently.
|
List<String> |
getQueues()
(MQ) The name of the Amazon MQ broker destination queue to consume.
|
SelfManagedEventSource |
getSelfManagedEventSource()
The Self-Managed Apache Kafka cluster for your event source.
|
List<SourceAccessConfiguration> |
getSourceAccessConfigurations()
An array of the authentication protocol, or the VPC components to secure 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 the last change to the event source mapping was made by a user, or by the Lambda service.
|
List<String> |
getTopics()
The name of the Kafka topic.
|
Integer |
getTumblingWindowInSeconds()
(Streams) The duration of a processing window in seconds.
|
String |
getUUID()
The identifier of the event source mapping.
|
int |
hashCode() |
Boolean |
isBisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry.
|
void |
setBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
void |
setBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
|
void |
setDestinationConfig(DestinationConfig destinationConfig)
(Streams) 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 |
setFunctionArn(String functionArn)
The ARN of the Lambda function.
|
void |
setFunctionResponseTypes(Collection<String> functionResponseTypes)
(Streams) 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 its state changed.
|
void |
setLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
void |
setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in
seconds.
|
void |
setMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) Discard records older than the specified age.
|
void |
setMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) Discard records after the specified number of retries.
|
void |
setParallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
|
void |
setQueues(Collection<String> queues)
(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 |
setSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure 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 the last change to the event source mapping was made by a user, or by the Lambda service.
|
void |
setTopics(Collection<String> topics)
The name of the Kafka topic.
|
void |
setTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Streams) The duration of a processing window in seconds.
|
void |
setUUID(String uUID)
The identifier of the event source mapping.
|
String |
toString()
Returns a string representation of this object.
|
GetEventSourceMappingResult |
withBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
GetEventSourceMappingResult |
withBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
|
GetEventSourceMappingResult |
withDestinationConfig(DestinationConfig destinationConfig)
(Streams) 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 |
withFunctionArn(String functionArn)
The ARN of the Lambda function.
|
GetEventSourceMappingResult |
withFunctionResponseTypes(Collection<String> functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
|
GetEventSourceMappingResult |
withFunctionResponseTypes(FunctionResponseType... functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
|
GetEventSourceMappingResult |
withFunctionResponseTypes(String... functionResponseTypes)
(Streams) 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 its state changed.
|
GetEventSourceMappingResult |
withLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
GetEventSourceMappingResult |
withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in
seconds.
|
GetEventSourceMappingResult |
withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) Discard records older than the specified age.
|
GetEventSourceMappingResult |
withMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) Discard records after the specified number of retries.
|
GetEventSourceMappingResult |
withParallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
|
GetEventSourceMappingResult |
withQueues(Collection<String> queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
|
GetEventSourceMappingResult |
withQueues(String... queues)
(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 |
withSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
|
GetEventSourceMappingResult |
withSourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure 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 the last change to the event source mapping was made by a user, or by the Lambda service.
|
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) The duration of a processing window in seconds.
|
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 Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis streams.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and
Amazon MSK Streams sources. AT_TIMESTAMP
is only supported 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 Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis streams.
AT_TIMESTAMP
is only supported 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 Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis streams.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and
Amazon MSK Streams sources. AT_TIMESTAMP
is only supported 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 Streams sources. AT_TIMESTAMP
is only supported for Amazon Kinesis streams.
startingPosition
- The position in a stream from which to start reading. Required for Amazon Kinesis, Amazon DynamoDB, and
Amazon MSK Streams sources. AT_TIMESTAMP
is only supported 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 items to retrieve in a single batch.
batchSize
- The maximum number of items to retrieve in a single batch.public Integer getBatchSize()
The maximum number of items to retrieve in a single batch.
public GetEventSourceMappingResult withBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
batchSize
- The maximum number of items to retrieve in a single batch.public void setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.
maximumBatchingWindowInSeconds
- (Streams and SQS standard queues) The maximum amount of time to gather records before invoking the
function, in seconds. The default value is zero.public Integer getMaximumBatchingWindowInSeconds()
(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.
public GetEventSourceMappingResult withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams and SQS standard queues) The maximum amount of time to gather records before invoking the function, in seconds. The default value is zero.
maximumBatchingWindowInSeconds
- (Streams and SQS standard queues) The maximum amount of time to gather records before invoking the
function, in seconds. The default value is zero.public void setParallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently. The default value is 1.
parallelizationFactor
- (Streams) The number of batches to process from each shard concurrently. The default value is 1.public Integer getParallelizationFactor()
(Streams) The number of batches to process from each shard concurrently. The default value is 1.
public GetEventSourceMappingResult withParallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently. The default value is 1.
parallelizationFactor
- (Streams) The number of batches to process from each shard concurrently. 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 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 its state changed.
lastModified
- The date that the event source mapping was last updated, or its state changed.public Date getLastModified()
The date that the event source mapping was last updated, or its state changed.
public GetEventSourceMappingResult withLastModified(Date lastModified)
The date that the event source mapping was last updated, or its state changed.
lastModified
- The date that the event source mapping was last updated, or its state changed.public void setLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
lastProcessingResult
- The result of the last AWS Lambda invocation of your Lambda function.public String getLastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
public GetEventSourceMappingResult withLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
lastProcessingResult
- The result of the last AWS Lambda invocation of your Lambda 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 the last change to the event source mapping was made by a user, or by the Lambda service.
stateTransitionReason
- Indicates whether the last change to the event source mapping was made by a user, or by the Lambda
service.public String getStateTransitionReason()
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
public GetEventSourceMappingResult withStateTransitionReason(String stateTransitionReason)
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
stateTransitionReason
- Indicates whether the last change to the event source mapping was made by a user, or by the Lambda
service.public void setDestinationConfig(DestinationConfig destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
destinationConfig
- (Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.public DestinationConfig getDestinationConfig()
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
public GetEventSourceMappingResult withDestinationConfig(DestinationConfig destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
destinationConfig
- (Streams) 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()
(MQ) The name of the Amazon MQ broker destination queue to consume.
public void setQueues(Collection<String> queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
queues
- (MQ) The name of the Amazon MQ broker destination queue to consume.public GetEventSourceMappingResult withQueues(String... queues)
(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
- (MQ) The name of the Amazon MQ broker destination queue to consume.public GetEventSourceMappingResult withQueues(Collection<String> queues)
(MQ) The name of the Amazon MQ broker destination queue to consume.
queues
- (MQ) The name of the Amazon MQ broker destination queue to consume.public List<SourceAccessConfiguration> getSourceAccessConfigurations()
An array of the authentication protocol, or the VPC components to secure your event source.
public void setSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
sourceAccessConfigurations
- An array of the authentication protocol, or the VPC components to secure your event source.public GetEventSourceMappingResult withSourceAccessConfigurations(SourceAccessConfiguration... sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure 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, or the VPC components to secure your event source.public GetEventSourceMappingResult withSourceAccessConfigurations(Collection<SourceAccessConfiguration> sourceAccessConfigurations)
An array of the authentication protocol, or the VPC components to secure your event source.
sourceAccessConfigurations
- An array of the authentication protocol, or the VPC components to secure 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) Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
maximumRecordAgeInSeconds
- (Streams) Discard records older than the specified age. The default value is infinite (-1). When set to
infinite (-1), failed records are retried until the record expires.public Integer getMaximumRecordAgeInSeconds()
(Streams) Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
public GetEventSourceMappingResult withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
maximumRecordAgeInSeconds
- (Streams) Discard records older than the specified age. The default value is infinite (-1). When set to
infinite (-1), failed records are retried until the record expires.public void setBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry. The default value is false.
bisectBatchOnFunctionError
- (Streams) If the function returns an error, split the batch in two and retry. The default value is false.public Boolean getBisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry. The default value is false.
public GetEventSourceMappingResult withBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry. The default value is false.
bisectBatchOnFunctionError
- (Streams) If the function returns an error, split the batch in two and retry. The default value is false.public Boolean isBisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry. The default value is false.
public void setMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
maximumRetryAttempts
- (Streams) Discard records after the specified number of retries. The default value is infinite (-1). When
set to infinite (-1), failed records are retried until the record expires.public Integer getMaximumRetryAttempts()
(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
public GetEventSourceMappingResult withMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
maximumRetryAttempts
- (Streams) Discard records after the specified number of retries. The default value is infinite (-1). When
set to infinite (-1), failed records are retried until the record expires.public void setTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Streams) The duration of a processing window in seconds. The range is between 1 second up to 15 minutes.
tumblingWindowInSeconds
- (Streams) The duration of a processing window in seconds. The range is between 1 second up to 15 minutes.public Integer getTumblingWindowInSeconds()
(Streams) The duration of a processing window in seconds. The range is between 1 second up to 15 minutes.
public GetEventSourceMappingResult withTumblingWindowInSeconds(Integer tumblingWindowInSeconds)
(Streams) The duration of a processing window in seconds. The range is between 1 second up to 15 minutes.
tumblingWindowInSeconds
- (Streams) The duration of a processing window in seconds. The range is between 1 second up to 15 minutes.public List<String> getFunctionResponseTypes()
(Streams) A list of current response type enums applied to the event source mapping.
FunctionResponseType
public void setFunctionResponseTypes(Collection<String> functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams) A list of current response type enums applied to the event source mapping.FunctionResponseType
public GetEventSourceMappingResult withFunctionResponseTypes(String... functionResponseTypes)
(Streams) 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) A list of current response type enums applied to the event source mapping.FunctionResponseType
public GetEventSourceMappingResult withFunctionResponseTypes(Collection<String> functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams) A list of current response type enums applied to the event source mapping.FunctionResponseType
public GetEventSourceMappingResult withFunctionResponseTypes(FunctionResponseType... functionResponseTypes)
(Streams) A list of current response type enums applied to the event source mapping.
functionResponseTypes
- (Streams) A list of current response type enums applied to the event source mapping.FunctionResponseType
public String toString()
toString
in class Object
Object.toString()
public GetEventSourceMappingResult clone()