@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEventSourceMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
A mapping between an AWS resource and an AWS Lambda function. See CreateEventSourceMapping for details.
Constructor and Description |
---|
UpdateEventSourceMappingResult() |
Modifier and Type | Method and Description |
---|---|
UpdateEventSourceMappingResult |
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.
|
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 |
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 |
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.
|
UpdateEventSourceMappingResult |
withBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
UpdateEventSourceMappingResult |
withEventSourceArn(String eventSourceArn)
The Amazon Resource Name (ARN) of the event source.
|
UpdateEventSourceMappingResult |
withFunctionArn(String functionArn)
The ARN of the Lambda function.
|
UpdateEventSourceMappingResult |
withLastModified(Date lastModified)
The date that the event source mapping was last updated.
|
UpdateEventSourceMappingResult |
withLastProcessingResult(String lastProcessingResult)
The result of the last AWS Lambda invocation of your Lambda function.
|
UpdateEventSourceMappingResult |
withState(String state)
The state of the event source mapping.
|
UpdateEventSourceMappingResult |
withStateTransitionReason(String stateTransitionReason)
The cause of the last state change, either
User initiated or Lambda initiated . |
UpdateEventSourceMappingResult |
withUUID(String uUID)
The identifier of the event source mapping.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult 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 UpdateEventSourceMappingResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.