@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 maximum number of items to retrieve in a single batch.
|
Boolean |
getEnabled()
Disables the event source mapping to pause polling and invocation.
|
String |
getFunctionName()
The name of the Lambda function.
|
String |
getUUID()
The identifier of the event source mapping.
|
int |
hashCode() |
Boolean |
isEnabled()
Disables the event source mapping to pause polling and invocation.
|
void |
setBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
void |
setEnabled(Boolean enabled)
Disables the event source mapping to pause polling and invocation.
|
void |
setFunctionName(String functionName)
The name of the Lambda function.
|
void |
setUUID(String uUID)
The identifier of the event source mapping.
|
String |
toString()
Returns a string representation of this object.
|
UpdateEventSourceMappingRequest |
withBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
|
UpdateEventSourceMappingRequest |
withEnabled(Boolean enabled)
Disables the event source mapping to pause polling and invocation.
|
UpdateEventSourceMappingRequest |
withFunctionName(String functionName)
The name of the Lambda function.
|
UpdateEventSourceMappingRequest |
withUUID(String uUID)
The identifier of the event source mapping.
|
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 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 UpdateEventSourceMappingRequest withUUID(String uUID)
The identifier of the event source mapping.
uUID
- The identifier of the event source mapping.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's 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's 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's 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's 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's 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's limited to 64 characters in length.
public void setEnabled(Boolean enabled)
Disables the event source mapping to pause polling and invocation.
enabled
- Disables the event source mapping to pause polling and invocation.public Boolean getEnabled()
Disables the event source mapping to pause polling and invocation.
public UpdateEventSourceMappingRequest withEnabled(Boolean enabled)
Disables the event source mapping to pause polling and invocation.
enabled
- Disables the event source mapping to pause polling and invocation.public Boolean isEnabled()
Disables the event source mapping to pause polling and invocation.
public void setBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
Amazon Kinesis - Default 100. Max 10,000.
Amazon DynamoDB Streams - Default 100. Max 1,000.
Amazon Simple Queue Service - Default 10. Max 10.
batchSize
- The maximum number of items to retrieve in a single batch.
Amazon Kinesis - Default 100. Max 10,000.
Amazon DynamoDB Streams - Default 100. Max 1,000.
Amazon Simple Queue Service - Default 10. Max 10.
public Integer getBatchSize()
The maximum number of items to retrieve in a single batch.
Amazon Kinesis - Default 100. Max 10,000.
Amazon DynamoDB Streams - Default 100. Max 1,000.
Amazon Simple Queue Service - Default 10. Max 10.
Amazon Kinesis - Default 100. Max 10,000.
Amazon DynamoDB Streams - Default 100. Max 1,000.
Amazon Simple Queue Service - Default 10. Max 10.
public UpdateEventSourceMappingRequest withBatchSize(Integer batchSize)
The maximum number of items to retrieve in a single batch.
Amazon Kinesis - Default 100. Max 10,000.
Amazon DynamoDB Streams - Default 100. Max 1,000.
Amazon Simple Queue Service - Default 10. Max 10.
batchSize
- The maximum number of items to retrieve in a single batch.
Amazon Kinesis - Default 100. Max 10,000.
Amazon DynamoDB Streams - Default 100. Max 1,000.
Amazon Simple Queue Service - Default 10. Max 10.
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.