@Generated(value="software.amazon.awssdk:codegen") public final class CreateEventSourceMappingResponse extends LambdaResponse implements ToCopyableBuilder<CreateEventSourceMappingResponse.Builder,CreateEventSourceMappingResponse>
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateEventSourceMappingResponse.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
batchSize()
The maximum number of items to retrieve in a single batch.
|
Boolean |
bisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry.
|
static CreateEventSourceMappingResponse.Builder |
builder() |
DestinationConfig |
destinationConfig()
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
eventSourceArn()
The Amazon Resource Name (ARN) of the event source.
|
String |
functionArn()
The ARN of the Lambda function.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModified()
The date that the event source mapping was last updated, or its state changed.
|
String |
lastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
|
Integer |
maximumBatchingWindowInSeconds()
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
|
Integer |
maximumRecordAgeInSeconds()
(Streams) The maximum age of a record that Lambda sends to a function for processing.
|
Integer |
maximumRetryAttempts()
(Streams) The maximum number of times to retry when the function returns an error.
|
Integer |
parallelizationFactor()
(Streams) The number of batches to process from each shard concurrently.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateEventSourceMappingResponse.Builder> |
serializableBuilderClass() |
String |
state()
The state of the event source mapping.
|
String |
stateTransitionReason()
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
|
CreateEventSourceMappingResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uuid()
The identifier of the event source mapping.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String uuid()
The identifier of the event source mapping.
public Integer batchSize()
The maximum number of items to retrieve in a single batch.
public Integer maximumBatchingWindowInSeconds()
(Streams) The maximum amount of time to gather records before invoking the function, in seconds.
public Integer parallelizationFactor()
(Streams) The number of batches to process from each shard concurrently.
public String eventSourceArn()
The Amazon Resource Name (ARN) of the event source.
public String functionArn()
The ARN of the Lambda function.
public Instant lastModified()
The date that the event source mapping was last updated, or its state changed.
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 one of the following: Creating
,
Enabling
, Enabled
, Disabling
, Disabled
, Updating
, or Deleting
.
Creating
,
Enabling
, Enabled
, Disabling
, Disabled
,
Updating
, or Deleting
.public String stateTransitionReason()
Indicates whether the last change to the event source mapping was made by a user, or by the Lambda service.
public DestinationConfig destinationConfig()
(Streams) An Amazon SQS queue or Amazon SNS topic destination for discarded records.
public Integer maximumRecordAgeInSeconds()
(Streams) The maximum age of a record that Lambda sends to a function for processing.
public Boolean bisectBatchOnFunctionError()
(Streams) If the function returns an error, split the batch in two and retry.
public Integer maximumRetryAttempts()
(Streams) The maximum number of times to retry when the function returns an error.
public CreateEventSourceMappingResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<CreateEventSourceMappingResponse.Builder,CreateEventSourceMappingResponse>
toBuilder
in class AwsResponse
public static CreateEventSourceMappingResponse.Builder builder()
public static Class<? extends CreateEventSourceMappingResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.