@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventSourceMappingConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
Constructor and Description |
---|
EventSourceMappingConfiguration() |
Modifier and Type | Method and Description |
---|---|
EventSourceMappingConfiguration |
clone() |
boolean |
equals(Object obj) |
Integer |
getBatchSize()
The maximum number of items to retrieve in a single batch.
|
String |
getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
String |
getFunctionArn()
The ARN of the Lambda function.
|
Date |
getLastModified()
The date that the event source mapping was last updated.
|
String |
getLastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
|
Integer |
getMaximumBatchingWindowInSeconds() |
String |
getState()
The state of the event source mapping.
|
String |
getStateTransitionReason()
The cause of the last state change, either
User initiated or Lambda initiated . |
String |
getUUID()
The identifier of the event source mapping.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
void |
setEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
void |
setFunctionArn(String functionArn)
The ARN of the Lambda function.
|
void |
setLastModified(Date lastModified)
The date that the event source mapping was last updated.
|
void |
setLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
void |
setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds) |
void |
setState(String state)
The state of the event source mapping.
|
void |
setStateTransitionReason(String stateTransitionReason)
The cause of the last state change, either
User initiated or Lambda initiated . |
void |
setUUID(String uUID)
The identifier of the event source mapping.
|
String |
toString()
Returns a string representation of this object.
|
EventSourceMappingConfiguration |
withBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
EventSourceMappingConfiguration |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
EventSourceMappingConfiguration |
withFunctionArn(String functionArn)
The ARN of the Lambda function.
|
EventSourceMappingConfiguration |
withLastModified(Date lastModified)
The date that the event source mapping was last updated.
|
EventSourceMappingConfiguration |
withLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
EventSourceMappingConfiguration |
withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds) |
EventSourceMappingConfiguration |
withState(String state)
The state of the event source mapping.
|
EventSourceMappingConfiguration |
withStateTransitionReason(String stateTransitionReason)
The cause of the last state change, either
User initiated or Lambda initiated . |
EventSourceMappingConfiguration |
withUUID(String uUID)
The identifier of the event source mapping.
|
public void setUUID(String uUID)
The identifier of the event source mapping.
uUID
- The identifier of the event source mapping.public String getUUID()
The identifier of the event source mapping.
public EventSourceMappingConfiguration withUUID(String uUID)
The identifier of the event source mapping.
uUID
- The identifier of the event source mapping.public void setBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
batchSize
- The maximum number of items to retrieve in a single batch.public Integer getBatchSize()
The maximum number of items to retrieve in a single batch.
public EventSourceMappingConfiguration withBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
batchSize
- The maximum number of items to retrieve in a single batch.public void setMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
maximumBatchingWindowInSeconds
- public Integer getMaximumBatchingWindowInSeconds()
public EventSourceMappingConfiguration withMaximumBatchingWindowInSeconds(Integer maximumBatchingWindowInSeconds)
maximumBatchingWindowInSeconds
- public void setEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
eventSourceArn
- The Amazon Resource Name (ARN) of the event source.public String getEventSourceArn()
The Amazon Resource Name (ARN) of the event source.
public EventSourceMappingConfiguration withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
eventSourceArn
- The Amazon Resource Name (ARN) of the event source.public void setFunctionArn(String functionArn)
The ARN of the Lambda function.
functionArn
- The ARN of the Lambda function.public String getFunctionArn()
The ARN of the Lambda function.
public EventSourceMappingConfiguration withFunctionArn(String functionArn)
The ARN of the Lambda function.
functionArn
- The ARN of the Lambda function.public void setLastModified(Date lastModified)
The date that the event source mapping was last updated.
lastModified
- The date that the event source mapping was last updated.public Date getLastModified()
The date that the event source mapping was last updated.
public EventSourceMappingConfiguration withLastModified(Date lastModified)
The date that the event source mapping was last updated.
lastModified
- The date that the event source mapping was last 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 EventSourceMappingConfiguration 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 one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
, Updating
, or Deleting
.
state
- The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.public String getState()
The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
, Updating
, or Deleting
.
Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.public EventSourceMappingConfiguration withState(String state)
The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
, Updating
, or Deleting
.
state
- The state of the event source mapping. It can be one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.public void setStateTransitionReason(String stateTransitionReason)
The cause of the last state change, either User initiated
or Lambda initiated
.
stateTransitionReason
- The cause of the last state change, either User initiated
or Lambda initiated
.public String getStateTransitionReason()
The cause of the last state change, either User initiated
or Lambda initiated
.
User initiated
or Lambda initiated
.public EventSourceMappingConfiguration withStateTransitionReason(String stateTransitionReason)
The cause of the last state change, either User initiated
or Lambda initiated
.
stateTransitionReason
- The cause of the last state change, either User initiated
or Lambda initiated
.public String toString()
toString
in class Object
Object.toString()
public EventSourceMappingConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.