public class UpdateEventSourceMappingResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes mapping between an Amazon Kinesis stream and a Lambda function.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
batchSize
The largest number of records that AWS Lambda will retrieve from your
event source at the time of invoking your function.
|
private java.lang.String |
eventSourceArn
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the
source of events.
|
private java.lang.String |
functionArn
The Lambda function to invoke when AWS Lambda detects an event on the
stream.
|
private java.util.Date |
lastModified
The UTC time string indicating the last time the event mapping was
updated.
|
private java.lang.String |
lastProcessingResult
The result of the last AWS Lambda invocation of your Lambda function.
|
private java.lang.String |
state
The state of the event source mapping.
|
private java.lang.String |
stateTransitionReason
The reason the event source mapping is in its current state.
|
private java.lang.String |
uUID
The AWS Lambda assigned opaque identifier for the mapping.
|
Constructor and Description |
---|
UpdateEventSourceMappingResult() |
Modifier and Type | Method and Description |
---|---|
UpdateEventSourceMappingResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getBatchSize()
The largest number of records that AWS Lambda will retrieve from your
event source at the time of invoking your function.
|
java.lang.String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the
source of events.
|
java.lang.String |
getFunctionArn()
The Lambda function to invoke when AWS Lambda detects an event on the
stream.
|
java.util.Date |
getLastModified()
The UTC time string indicating the last time the event mapping was
updated.
|
java.lang.String |
getLastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
|
java.lang.String |
getState()
The state of the event source mapping.
|
java.lang.String |
getStateTransitionReason()
The reason the event source mapping is in its current state.
|
java.lang.String |
getUUID()
The AWS Lambda assigned opaque identifier for the mapping.
|
int |
hashCode() |
void |
setBatchSize(java.lang.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(java.lang.String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the
source of events.
|
void |
setFunctionArn(java.lang.String functionArn)
The Lambda function to invoke when AWS Lambda detects an event on the
stream.
|
void |
setLastModified(java.util.Date lastModified)
The UTC time string indicating the last time the event mapping was
updated.
|
void |
setLastProcessingResult(java.lang.String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
void |
setState(java.lang.String state)
The state of the event source mapping.
|
void |
setStateTransitionReason(java.lang.String stateTransitionReason)
The reason the event source mapping is in its current state.
|
void |
setUUID(java.lang.String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateEventSourceMappingResult |
withBatchSize(java.lang.Integer batchSize)
The largest number of records that AWS Lambda will retrieve from your
event source at the time of invoking your function.
|
UpdateEventSourceMappingResult |
withEventSourceArn(java.lang.String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the
source of events.
|
UpdateEventSourceMappingResult |
withFunctionArn(java.lang.String functionArn)
The Lambda function to invoke when AWS Lambda detects an event on the
stream.
|
UpdateEventSourceMappingResult |
withLastModified(java.util.Date lastModified)
The UTC time string indicating the last time the event mapping was
updated.
|
UpdateEventSourceMappingResult |
withLastProcessingResult(java.lang.String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
UpdateEventSourceMappingResult |
withState(java.lang.String state)
The state of the event source mapping.
|
UpdateEventSourceMappingResult |
withStateTransitionReason(java.lang.String stateTransitionReason)
The reason the event source mapping is in its current state.
|
UpdateEventSourceMappingResult |
withUUID(java.lang.String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
|
private java.lang.String uUID
The AWS Lambda assigned opaque identifier for the mapping.
private java.lang.Integer 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.
private java.lang.String eventSourceArn
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
private java.lang.String functionArn
The Lambda function to invoke when AWS Lambda detects an event on the stream.
private java.util.Date lastModified
The UTC time string indicating the last time the event mapping was updated.
private java.lang.String lastProcessingResult
The result of the last AWS Lambda invocation of your Lambda function.
private java.lang.String state
The state of the event source mapping. It can be Creating
,
Enabled
, Disabled
, Enabling
,
Disabling
, Updating
, or Deleting
.
private java.lang.String stateTransitionReason
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
public void setUUID(java.lang.String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
uUID
- The AWS Lambda assigned opaque identifier for the mapping.public java.lang.String getUUID()
The AWS Lambda assigned opaque identifier for the mapping.
public UpdateEventSourceMappingResult withUUID(java.lang.String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
uUID
- The AWS Lambda assigned opaque identifier for the mapping.public void setBatchSize(java.lang.Integer 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.
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.public java.lang.Integer 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.
public UpdateEventSourceMappingResult withBatchSize(java.lang.Integer 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.
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.public void setEventSourceArn(java.lang.String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
eventSourceArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream that
is the source of events.public java.lang.String getEventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
public UpdateEventSourceMappingResult withEventSourceArn(java.lang.String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
eventSourceArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream that
is the source of events.public void setFunctionArn(java.lang.String functionArn)
The Lambda function to invoke when AWS Lambda detects an event on the stream.
functionArn
- The Lambda function to invoke when AWS Lambda detects an event on
the stream.public java.lang.String getFunctionArn()
The Lambda function to invoke when AWS Lambda detects an event on the stream.
public UpdateEventSourceMappingResult withFunctionArn(java.lang.String functionArn)
The Lambda function to invoke when AWS Lambda detects an event on the stream.
functionArn
- The Lambda function to invoke when AWS Lambda detects an event on
the stream.public void setLastModified(java.util.Date lastModified)
The UTC time string indicating the last time the event mapping was updated.
lastModified
- The UTC time string indicating the last time the event mapping was
updated.public java.util.Date getLastModified()
The UTC time string indicating the last time the event mapping was updated.
public UpdateEventSourceMappingResult withLastModified(java.util.Date lastModified)
The UTC time string indicating the last time the event mapping was updated.
lastModified
- The UTC time string indicating the last time the event mapping was
updated.public void setLastProcessingResult(java.lang.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 java.lang.String getLastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
public UpdateEventSourceMappingResult withLastProcessingResult(java.lang.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(java.lang.String state)
The state of the event source mapping. It can be Creating
,
Enabled
, Disabled
, Enabling
,
Disabling
, Updating
, or Deleting
.
state
- The state of the event source mapping. It can be
Creating
, Enabled
, Disabled
, Enabling
, Disabling
,
Updating
, or Deleting
.public java.lang.String getState()
The state of the event source mapping. It can be Creating
,
Enabled
, Disabled
, Enabling
,
Disabling
, Updating
, or Deleting
.
Creating
, Enabled
,
Disabled
, Enabling
,
Disabling
, Updating
, or
Deleting
.public UpdateEventSourceMappingResult withState(java.lang.String state)
The state of the event source mapping. It can be Creating
,
Enabled
, Disabled
, Enabling
,
Disabling
, Updating
, or Deleting
.
state
- The state of the event source mapping. It can be
Creating
, Enabled
, Disabled
, Enabling
, Disabling
,
Updating
, or Deleting
.public void setStateTransitionReason(java.lang.String stateTransitionReason)
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
stateTransitionReason
- The reason the event source mapping is in its current state. It is
either user-requested or an AWS Lambda-initiated state transition.public java.lang.String getStateTransitionReason()
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
public UpdateEventSourceMappingResult withStateTransitionReason(java.lang.String stateTransitionReason)
The reason the event source mapping is in its current state. It is either user-requested or an AWS Lambda-initiated state transition.
stateTransitionReason
- The reason the event source mapping is in its current state. It is
either user-requested or an AWS Lambda-initiated state transition.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateEventSourceMappingResult clone()
clone
in class java.lang.Object