@Generated(value="software.amazon.awssdk:codegen") public final class EventSourceMappingConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<EventSourceMappingConfiguration.Builder,EventSourceMappingConfiguration>
Describes mapping between an Amazon Kinesis stream and a Lambda function.
Modifier and Type | Class and Description |
---|---|
static interface |
EventSourceMappingConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
batchSize()
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your
function.
|
static EventSourceMappingConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
String |
eventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
|
String |
functionArn()
The Lambda function to invoke when AWS Lambda detects an event on the stream.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModified()
The UTC time string indicating the last time the event mapping was updated.
|
String |
lastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EventSourceMappingConfiguration.Builder> |
serializableBuilderClass() |
String |
state()
The state of the event source mapping.
|
String |
stateTransitionReason()
The reason the event source mapping is in its current state.
|
EventSourceMappingConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
uuid()
The AWS Lambda assigned opaque identifier for the mapping.
|
copy
public String uuid()
The AWS Lambda assigned opaque identifier for the mapping.
public 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.
public String eventSourceArn()
The Amazon Resource Name (ARN) of the Amazon Kinesis stream that is the source of events.
public String functionArn()
The Lambda function to invoke when AWS Lambda detects an event on the stream.
public Instant lastModified()
The UTC time string indicating the last time the event mapping was updated.
public String lastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
public String state()
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 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.
public EventSourceMappingConfiguration.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EventSourceMappingConfiguration.Builder,EventSourceMappingConfiguration>
public static EventSourceMappingConfiguration.Builder builder()
public static Class<? extends EventSourceMappingConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.