@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
Constructor and Description |
---|
UpdateEventSourceMappingResult() |
Modifier and Type | Method and Description |
---|---|
UpdateEventSourceMappingResult |
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.
|
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) The maximum amount of time to gather records before invoking the function, in seconds.
|
Integer |
getMaximumRecordAgeInSeconds()
(Streams) The maximum age of a record that Lambda sends to a function for processing.
|
Integer |
getMaximumRetryAttempts()
(Streams) The maximum number of times to retry when the function returns an error.
|
Integer |
getParallelizationFactor()
(Streams) The number of batches to process from each shard concurrently.
|
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()
(MSK) The name of the Kafka topic.
|
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 |
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) The maximum amount of time to gather records before invoking the function, in seconds.
|
void |
setMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) The maximum age of a record that Lambda sends to a function for processing.
|
void |
setMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) The maximum number of times to retry when the function returns an error.
|
void |
setParallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
|
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)
(MSK) The name of the Kafka topic.
|
void |
setUUID(String uUID)
The identifier of the event source mapping.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEventSourceMappingResult |
withBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
UpdateEventSourceMappingResult |
withBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
|
UpdateEventSourceMappingResult |
withDestinationConfig(DestinationConfig destinationConfig)
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
UpdateEventSourceMappingResult |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
UpdateEventSourceMappingResult |
withFunctionArn(String functionArn)
The ARN of the Lambda function.
|
UpdateEventSourceMappingResult |
withLastModified(Date lastModified)
The date that the event source mapping was last updated, or its state changed.
|
UpdateEventSourceMappingResult |
withLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
UpdateEventSourceMappingResult |
withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
|
UpdateEventSourceMappingResult |
withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) The maximum age of a record that Lambda sends to a function for processing.
|
UpdateEventSourceMappingResult |
withMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) The maximum number of times to retry when the function returns an error.
|
UpdateEventSourceMappingResult |
withParallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
|
UpdateEventSourceMappingResult |
withState(String state)
The state of the event source mapping.
|
UpdateEventSourceMappingResult |
withStateTransitionReason(String stateTransitionReason)
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
|
UpdateEventSourceMappingResult |
withTopics(Collection<String> topics)
(MSK) The name of the Kafka topic.
|
UpdateEventSourceMappingResult |
withTopics(String... topics)
(MSK) The name of the Kafka topic.
|
UpdateEventSourceMappingResult |
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 UpdateEventSourceMappingResult withUUID(String uUID)
The identifier of the event source mapping.
uUID
- The identifier of the event source mapping.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 UpdateEventSourceMappingResult 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) The maximum amount of time to gather records before invoking the function, in seconds.
maximumBatchingWindowInSeconds
- (Streams) The maximum amount of time to gather records before invoking the function, in seconds.public Integer getMaximumBatchingWindowInSeconds()
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
public UpdateEventSourceMappingResult withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
maximumBatchingWindowInSeconds
- (Streams) The maximum amount of time to gather records before invoking the function, in seconds.public void setParallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
parallelizationFactor
- (Streams) The number of batches to process from each shard concurrently.public Integer getParallelizationFactor()
(Streams) The number of batches to process from each shard concurrently.
public UpdateEventSourceMappingResult withParallelizationFactor(Integer parallelizationFactor)
(Streams) The number of batches to process from each shard concurrently.
parallelizationFactor
- (Streams) The number of batches to process from each shard concurrently.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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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()
(MSK) The name of the Kafka topic.
public void setTopics(Collection<String> topics)
(MSK) The name of the Kafka topic.
topics
- (MSK) The name of the Kafka topic.public UpdateEventSourceMappingResult withTopics(String... topics)
(MSK) 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
- (MSK) The name of the Kafka topic.public UpdateEventSourceMappingResult withTopics(Collection<String> topics)
(MSK) The name of the Kafka topic.
topics
- (MSK) The name of the Kafka topic.public void setMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) The maximum age of a record that Lambda sends to a function for processing.
maximumRecordAgeInSeconds
- (Streams) The maximum age of a record that Lambda sends to a function for processing.public Integer getMaximumRecordAgeInSeconds()
(Streams) The maximum age of a record that Lambda sends to a function for processing.
public UpdateEventSourceMappingResult withMaximumRecordAgeInSeconds(Integer maximumRecordAgeInSeconds)
(Streams) The maximum age of a record that Lambda sends to a function for processing.
maximumRecordAgeInSeconds
- (Streams) The maximum age of a record that Lambda sends to a function for processing.public void setBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
bisectBatchOnFunctionError
- (Streams) If the function returns an error, split the batch in two and retry.public Boolean getBisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry.
public UpdateEventSourceMappingResult withBisectBatchOnFunctionError(Boolean bisectBatchOnFunctionError)
(Streams) If the function returns an error, split the batch in two and retry.
bisectBatchOnFunctionError
- (Streams) If the function returns an error, split the batch in two and retry.public Boolean isBisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry.
public void setMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) The maximum number of times to retry when the function returns an error.
maximumRetryAttempts
- (Streams) The maximum number of times to retry when the function returns an error.public Integer getMaximumRetryAttempts()
(Streams) The maximum number of times to retry when the function returns an error.
public UpdateEventSourceMappingResult withMaximumRetryAttempts(Integer maximumRetryAttempts)
(Streams) The maximum number of times to retry when the function returns an error.
maximumRetryAttempts
- (Streams) The maximum number of times to retry when the function returns an error.public String toString()
toString
in class Object
Object.toString()
public UpdateEventSourceMappingResult clone()
Copyright © 2020. All rights reserved.