@Generated(value="software.amazon.awssdk:codegen") public final class UpdateEventSourceMappingResponse extends LambdaResponse implements ToCopyableBuilder<UpdateEventSourceMappingResponse.Builder,UpdateEventSourceMappingResponse>
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateEventSourceMappingResponse.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
batchSize()
The maximum number of items to retrieve in a single batch.
|
static UpdateEventSourceMappingResponse.Builder |
builder() |
boolean |
equals(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)
Used to retrieve the value of a field from any class that extends
SdkResponse . |
int |
hashCode() |
Instant |
lastModified()
The date that the event source mapping was last updated, in Unix time seconds.
|
String |
lastProcessingResult()
The result of the last AWS Lambda invocation of your Lambda function.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateEventSourceMappingResponse.Builder> |
serializableBuilderClass() |
String |
state()
The state of the event source mapping.
|
String |
stateTransitionReason()
The cause of the last state change, either
User initiated or Lambda initiated . |
UpdateEventSourceMappingResponse.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 identifier of the event source mapping.
|
responseMetadata
sdkHttpResponse
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 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, in Unix time seconds.
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()
The cause of the last state change, either User initiated
or Lambda initiated
.
User initiated
or Lambda initiated
.public UpdateEventSourceMappingResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateEventSourceMappingResponse.Builder,UpdateEventSourceMappingResponse>
toBuilder
in class AwsResponse
public static UpdateEventSourceMappingResponse.Builder builder()
public static Class<? extends UpdateEventSourceMappingResponse.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkResponse
SdkResponse
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkResponse.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkResponse
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.