@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Describes mapping between an Amazon Kinesis stream and a Lambda function.
Constructor and Description |
---|
GetEventSourceMappingResult() |
Modifier and Type | Method and Description |
---|---|
GetEventSourceMappingResult |
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.
|
GetEventSourceMappingResult |
withBatchSize(Integer batchSize)
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your
function.
|
GetEventSourceMappingResult |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
|
GetEventSourceMappingResult |
withFunctionArn(String functionArn)
The Lambda function to invoke when AWS Lambda detects an event on the stream.
|
GetEventSourceMappingResult |
withLastModified(Date lastModified)
The UTC time string indicating the last time the event mapping was updated.
|
GetEventSourceMappingResult |
withLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
GetEventSourceMappingResult |
withState(String state)
The state of the event source mapping.
|
GetEventSourceMappingResult |
withStateTransitionReason(String stateTransitionReason)
The reason the event source mapping is in its current state.
|
GetEventSourceMappingResult |
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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult 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 GetEventSourceMappingResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.