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