public class CreateEventSourceMappingResult extends Object implements Serializable, Cloneable
Describes mapping between an Amazon Kinesis stream and a Lambda function.
Constructor and Description |
---|
CreateEventSourceMappingResult() |
Modifier and Type | Method and Description |
---|---|
CreateEventSourceMappingResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
The largest number of records that AWS Lambda will retrieve from your
event source at the time of invoking your function.
|
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is
the source of events.
|
String |
getFunctionArn()
The Lambda function to invoke when AWS Lambda detects an event on the
stream.
|
Date |
getLastModified()
The UTC time string indicating the last time the event mapping was
updated.
|
String |
getLastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
|
String |
getState()
The state of the event source mapping.
|
String |
getStateTransitionReason()
The reason the event source mapping is in its current state.
|
String |
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 |
setState(String state)
The state of the event source mapping.
|
void |
setStateTransitionReason(String stateTransitionReason)
The reason the event source mapping is in its current state.
|
void |
setUUID(String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateEventSourceMappingResult |
withBatchSize(Integer batchSize)
The largest number of records that AWS Lambda will retrieve from your
event source at the time of invoking your function.
|
CreateEventSourceMappingResult |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is
the source of events.
|
CreateEventSourceMappingResult |
withFunctionArn(String functionArn)
The Lambda function to invoke when AWS Lambda detects an event on the
stream.
|
CreateEventSourceMappingResult |
withLastModified(Date lastModified)
The UTC time string indicating the last time the event mapping was
updated.
|
CreateEventSourceMappingResult |
withLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
CreateEventSourceMappingResult |
withState(String state)
The state of the event source mapping.
|
CreateEventSourceMappingResult |
withStateTransitionReason(String stateTransitionReason)
The reason the event source mapping is in its current state.
|
CreateEventSourceMappingResult |
withUUID(String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
|
public String getUUID()
public void setUUID(String uUID)
uUID
- The AWS Lambda assigned opaque identifier for the mapping.public CreateEventSourceMappingResult withUUID(String uUID)
Returns a reference to this object so that method calls can be chained together.
uUID
- The AWS Lambda assigned opaque identifier for the mapping.public Integer getBatchSize()
Constraints:
Range: 1 - 10000
public void setBatchSize(Integer batchSize)
Constraints:
Range: 1 - 10000
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 CreateEventSourceMappingResult withBatchSize(Integer batchSize)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
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 String getEventSourceArn()
Constraints:
Pattern: arn:aws:([a-zA-Z0-9\-])+:([a-z]{2}-[a-z]+-\d{1})?:(\d{12})?:(.*)
public void setEventSourceArn(String eventSourceArn)
Constraints:
Pattern: arn:aws:([a-zA-Z0-9\-])+:([a-z]{2}-[a-z]+-\d{1})?:(\d{12})?:(.*)
eventSourceArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is
the source of events.public CreateEventSourceMappingResult withEventSourceArn(String eventSourceArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws:([a-zA-Z0-9\-])+:([a-z]{2}-[a-z]+-\d{1})?:(\d{12})?:(.*)
eventSourceArn
- The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is
the source of events.public String getFunctionArn()
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
public void setFunctionArn(String functionArn)
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionArn
- The Lambda function to invoke when AWS Lambda detects an event on the
stream.public CreateEventSourceMappingResult withFunctionArn(String functionArn)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: arn:aws:lambda:[a-z]{2}-[a-z]+-\d{1}:\d{12}:function:[a-zA-Z0-9-_]+(:(\$LATEST|[a-zA-Z0-9-_]+))?
functionArn
- The Lambda function to invoke when AWS Lambda detects an event on the
stream.public Date getLastModified()
public void setLastModified(Date lastModified)
lastModified
- The UTC time string indicating the last time the event mapping was
updated.public CreateEventSourceMappingResult withLastModified(Date lastModified)
Returns a reference to this object so that method calls can be chained together.
lastModified
- The UTC time string indicating the last time the event mapping was
updated.public String getLastProcessingResult()
public void setLastProcessingResult(String lastProcessingResult)
lastProcessingResult
- The result of the last AWS Lambda invocation of your Lambda function.public CreateEventSourceMappingResult withLastProcessingResult(String lastProcessingResult)
Returns a reference to this object so that method calls can be chained together.
lastProcessingResult
- The result of the last AWS Lambda invocation of your Lambda function.public String getState()
Creating
, Enabled
, Disabled
,
Enabling
, Disabling
, Updating
,
or Deleting
.Creating
, Enabled
, Disabled
,
Enabling
, Disabling
, Updating
,
or Deleting
.public void setState(String state)
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 CreateEventSourceMappingResult withState(String state)
Creating
, Enabled
, Disabled
,
Enabling
, Disabling
, Updating
,
or Deleting
.
Returns a reference to this object so that method calls can be chained together.
state
- The state of the event source mapping. It can be
Creating
, Enabled
, Disabled
,
Enabling
, Disabling
, Updating
,
or Deleting
.public String getStateTransitionReason()
public void setStateTransitionReason(String stateTransitionReason)
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 CreateEventSourceMappingResult withStateTransitionReason(String stateTransitionReason)
Returns a reference to this object so that method calls can be chained together.
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 String toString()
toString
in class Object
Object.toString()
public CreateEventSourceMappingResult clone()
Copyright © 2016. All rights reserved.