Class UpdateEventSourceMappingResult
- All Implemented Interfaces:
Serializable
,Cloneable
Describes mapping between an Amazon Kinesis stream and a Lambda function.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.The Lambda function to invoke when AWS Lambda detects an event on the stream.The UTC time string indicating the last time the event mapping was updated.The result of the last AWS Lambda invocation of your Lambda function.getState()
The state of the event source mapping.The reason the event source mapping is in its current state.getUUID()
The AWS Lambda assigned opaque identifier for the mapping.int
hashCode()
void
setBatchSize
(Integer batchSize) The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.void
setEventSourceArn
(String eventSourceArn) The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.void
setFunctionArn
(String functionArn) The Lambda function to invoke when AWS Lambda detects an event on the stream.void
setLastModified
(Date lastModified) The UTC time string indicating the last time the event mapping was updated.void
setLastProcessingResult
(String lastProcessingResult) The result of the last AWS Lambda invocation of your Lambda function.void
The state of the event source mapping.void
setStateTransitionReason
(String stateTransitionReason) The reason the event source mapping is in its current state.void
The AWS Lambda assigned opaque identifier for the mapping.toString()
Returns a string representation of this object; useful for testing and debugging.withBatchSize
(Integer batchSize) The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.withEventSourceArn
(String eventSourceArn) The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.withFunctionArn
(String functionArn) The Lambda function to invoke when AWS Lambda detects an event on the stream.withLastModified
(Date lastModified) The UTC time string indicating the last time the event mapping was updated.withLastProcessingResult
(String lastProcessingResult) The result of the last AWS Lambda invocation of your Lambda function.The state of the event source mapping.withStateTransitionReason
(String stateTransitionReason) The reason the event source mapping is in its current state.The AWS Lambda assigned opaque identifier for the mapping.
-
Constructor Details
-
UpdateEventSourceMappingResult
public UpdateEventSourceMappingResult()
-
-
Method Details
-
setUUID
The AWS Lambda assigned opaque identifier for the mapping.
- Parameters:
uUID
- The AWS Lambda assigned opaque identifier for the mapping.
-
getUUID
The AWS Lambda assigned opaque identifier for the mapping.
- Returns:
- The AWS Lambda assigned opaque identifier for the mapping.
-
withUUID
The AWS Lambda assigned opaque identifier for the mapping.
- Parameters:
uUID
- The AWS Lambda assigned opaque identifier for the mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBatchSize
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
- Parameters:
batchSize
- The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
-
getBatchSize
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
- Returns:
- The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
-
withBatchSize
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.
- Parameters:
batchSize
- The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function. Your function receives an event with all the retrieved records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEventSourceArn
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
- Parameters:
eventSourceArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
-
getEventSourceArn
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
- Returns:
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
-
withEventSourceArn
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
- Parameters:
eventSourceArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFunctionArn
The Lambda function to invoke when AWS Lambda detects an event on the stream.
- Parameters:
functionArn
- The Lambda function to invoke when AWS Lambda detects an event on the stream.
-
getFunctionArn
The Lambda function to invoke when AWS Lambda detects an event on the stream.
- Returns:
- The Lambda function to invoke when AWS Lambda detects an event on the stream.
-
withFunctionArn
The Lambda function to invoke when AWS Lambda detects an event on the stream.
- Parameters:
functionArn
- The Lambda function to invoke when AWS Lambda detects an event on the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastModified
The UTC time string indicating the last time the event mapping was updated.
- Parameters:
lastModified
- The UTC time string indicating the last time the event mapping was updated.
-
getLastModified
The UTC time string indicating the last time the event mapping was updated.
- Returns:
- The UTC time string indicating the last time the event mapping was updated.
-
withLastModified
The UTC time string indicating the last time the event mapping was updated.
- Parameters:
lastModified
- The UTC time string indicating the last time the event mapping was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setLastProcessingResult
The result of the last AWS Lambda invocation of your Lambda function.
- Parameters:
lastProcessingResult
- The result of the last AWS Lambda invocation of your Lambda function.
-
getLastProcessingResult
The result of the last AWS Lambda invocation of your Lambda function.
- Returns:
- The result of the last AWS Lambda invocation of your Lambda function.
-
withLastProcessingResult
The result of the last AWS Lambda invocation of your Lambda function.
- Parameters:
lastProcessingResult
- The result of the last AWS Lambda invocation of your Lambda function.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setState
The state of the event source mapping. It can be
Creating
,Enabled
,Disabled
,Enabling
,Disabling
,Updating
, orDeleting
.- Parameters:
state
- The state of the event source mapping. It can beCreating
,Enabled
,Disabled
,Enabling
,Disabling
,Updating
, orDeleting
.
-
getState
The state of the event source mapping. It can be
Creating
,Enabled
,Disabled
,Enabling
,Disabling
,Updating
, orDeleting
.- Returns:
- The state of the event source mapping. It can be
Creating
,Enabled
,Disabled
,Enabling
,Disabling
,Updating
, orDeleting
.
-
withState
The state of the event source mapping. It can be
Creating
,Enabled
,Disabled
,Enabling
,Disabling
,Updating
, orDeleting
.- Parameters:
state
- The state of the event source mapping. It can beCreating
,Enabled
,Disabled
,Enabling
,Disabling
,Updating
, orDeleting
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStateTransitionReason
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
- Parameters:
stateTransitionReason
- The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
-
getStateTransitionReason
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
- Returns:
- The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
-
withStateTransitionReason
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
- Parameters:
stateTransitionReason
- The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-