Class CreateEventSourceMappingResult
- java.lang.Object
-
- com.amazonaws.services.lambda.model.CreateEventSourceMappingResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class CreateEventSourceMappingResult extends Object implements Serializable, Cloneable
Describes mapping between an Amazon Kinesis stream and a Lambda function.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateEventSourceMappingResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEventSourceMappingResultclone()booleanequals(Object obj)IntegergetBatchSize()The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.StringgetEventSourceArn()The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.StringgetFunctionArn()The Lambda function to invoke when AWS Lambda detects an event on the stream.DategetLastModified()The UTC time string indicating the last time the event mapping was updated.StringgetLastProcessingResult()The result of the last AWS Lambda invocation of your Lambda function.StringgetState()The state of the event source mapping.StringgetStateTransitionReason()The reason the event source mapping is in its current state.StringgetUUID()The AWS Lambda assigned opaque identifier for the mapping.inthashCode()voidsetBatchSize(Integer batchSize)The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.voidsetEventSourceArn(String eventSourceArn)The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.voidsetFunctionArn(String functionArn)The Lambda function to invoke when AWS Lambda detects an event on the stream.voidsetLastModified(Date lastModified)The UTC time string indicating the last time the event mapping was updated.voidsetLastProcessingResult(String lastProcessingResult)The result of the last AWS Lambda invocation of your Lambda function.voidsetState(String state)The state of the event source mapping.voidsetStateTransitionReason(String stateTransitionReason)The reason the event source mapping is in its current state.voidsetUUID(String uUID)The AWS Lambda assigned opaque identifier for the mapping.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateEventSourceMappingResultwithBatchSize(Integer batchSize)The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your function.CreateEventSourceMappingResultwithEventSourceArn(String eventSourceArn)The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.CreateEventSourceMappingResultwithFunctionArn(String functionArn)The Lambda function to invoke when AWS Lambda detects an event on the stream.CreateEventSourceMappingResultwithLastModified(Date lastModified)The UTC time string indicating the last time the event mapping was updated.CreateEventSourceMappingResultwithLastProcessingResult(String lastProcessingResult)The result of the last AWS Lambda invocation of your Lambda function.CreateEventSourceMappingResultwithState(String state)The state of the event source mapping.CreateEventSourceMappingResultwithStateTransitionReason(String stateTransitionReason)The reason the event source mapping is in its current state.CreateEventSourceMappingResultwithUUID(String uUID)The AWS Lambda assigned opaque identifier for the mapping.
-
-
-
Method Detail
-
setUUID
public void setUUID(String uUID)
The AWS Lambda assigned opaque identifier for the mapping.
- Parameters:
uUID- The AWS Lambda assigned opaque identifier for the mapping.
-
getUUID
public String getUUID()
The AWS Lambda assigned opaque identifier for the mapping.
- Returns:
- The AWS Lambda assigned opaque identifier for the mapping.
-
withUUID
public CreateEventSourceMappingResult withUUID(String uUID)
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
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.
- 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
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.
- 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
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.
- 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
public void setEventSourceArn(String eventSourceArn)
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
public String 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
public CreateEventSourceMappingResult withEventSourceArn(String eventSourceArn)
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
public void setFunctionArn(String functionArn)
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
public String 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
public CreateEventSourceMappingResult withFunctionArn(String functionArn)
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
public void setLastModified(Date lastModified)
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
public Date 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
public CreateEventSourceMappingResult withLastModified(Date lastModified)
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
public void setLastProcessingResult(String lastProcessingResult)
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
public String 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
public CreateEventSourceMappingResult withLastProcessingResult(String lastProcessingResult)
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
public void setState(String state)
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
public String 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
public CreateEventSourceMappingResult withState(String state)
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
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.
- 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
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.
- 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
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.
- 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateEventSourceMappingResult clone()
-
-