public class CreateEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setUUID(String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
uUID
- The AWS Lambda assigned opaque identifier for the mapping.public String getUUID()
The AWS Lambda assigned opaque identifier for the mapping.
public CreateEventSourceMappingResult withUUID(String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
uUID
- The AWS Lambda assigned opaque identifier for the mapping.public 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. 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 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 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. 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(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 String getEventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
public CreateEventSourceMappingResult withEventSourceArn(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(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 String getFunctionArn()
The Lambda function to invoke when AWS Lambda detects an event on the stream.
public CreateEventSourceMappingResult withFunctionArn(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(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 Date getLastModified()
The UTC time string indicating the last time the event mapping was updated.
public CreateEventSourceMappingResult withLastModified(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(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 CreateEventSourceMappingResult 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 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 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 CreateEventSourceMappingResult withState(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(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 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 CreateEventSourceMappingResult withStateTransitionReason(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 String toString()
toString
in class Object
Object.toString()
public CreateEventSourceMappingResult clone()
Copyright © 2016. All rights reserved.