@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateEventSourceMappingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateEventSourceMappingRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEventSourceMappingRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getBatchSize()
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your
function.
|
Boolean |
getEnabled()
Specifies whether AWS Lambda should actively poll the stream or not.
|
String |
getFunctionName()
The name of the lambda function.
|
String |
getUUID()
The event source mapping identifier.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether AWS Lambda should actively poll the stream or not.
|
void |
setBatchSize(Integer batchSize)
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your
function.
|
void |
setEnabled(Boolean enabled)
Specifies whether AWS Lambda should actively poll the stream or not.
|
void |
setFunctionName(String functionName)
The name of the lambda function.
|
void |
setUUID(String uUID)
The event source mapping identifier.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
UpdateEventSourceMappingRequest |
withBatchSize(Integer batchSize)
The largest number of records that AWS Lambda will retrieve from your event source at the time of invoking your
function.
|
UpdateEventSourceMappingRequest |
withEnabled(Boolean enabled)
Specifies whether AWS Lambda should actively poll the stream or not.
|
UpdateEventSourceMappingRequest |
withFunctionName(String functionName)
The name of the lambda function.
|
UpdateEventSourceMappingRequest |
withUUID(String uUID)
The event source mapping identifier.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setUUID(String uUID)
The event source mapping identifier.
uUID
- The event source mapping identifier.public String getUUID()
The event source mapping identifier.
public UpdateEventSourceMappingRequest withUUID(String uUID)
The event source mapping identifier.
uUID
- The event source mapping identifier.public void setFunctionName(String functionName)
The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public String getFunctionName()
The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public UpdateEventSourceMappingRequest withFunctionName(String functionName)
The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
functionName
- The name of the lambda function.
Name formats
Function name - MyFunction
.
Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction
.
Version or Alias ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD
.
Partial ARN - 123456789012:function:MyFunction
.
The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 characters in length.
public void setEnabled(Boolean enabled)
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
enabled
- Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll
the stream.public Boolean getEnabled()
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
public UpdateEventSourceMappingRequest withEnabled(Boolean enabled)
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
enabled
- Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll
the stream.public Boolean isEnabled()
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
public void setBatchSize(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.
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 Integer getBatchSize()
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 UpdateEventSourceMappingRequest withBatchSize(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.
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 toString()
toString
in class Object
Object.toString()
public UpdateEventSourceMappingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.