Class UpdateEventSourceMappingRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The maximum number of stream records that can be sent to your Lambda function for a single invocation.Specifies whether AWS Lambda should actively poll the stream or not.The Lambda function to which you want the stream records sent.getUUID()
The event source mapping identifier.int
hashCode()
Specifies whether AWS Lambda should actively poll the stream or not.void
setBatchSize
(Integer batchSize) The maximum number of stream records that can be sent to your Lambda function for a single invocation.void
setEnabled
(Boolean enabled) Specifies whether AWS Lambda should actively poll the stream or not.void
setFunctionName
(String functionName) The Lambda function to which you want the stream records sent.void
The event source mapping identifier.toString()
Returns a string representation of this object; useful for testing and debugging.withBatchSize
(Integer batchSize) The maximum number of stream records that can be sent to your Lambda function for a single invocation.withEnabled
(Boolean enabled) Specifies whether AWS Lambda should actively poll the stream or not.withFunctionName
(String functionName) The Lambda function to which you want the stream records sent.The event source mapping identifier.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
UpdateEventSourceMappingRequest
public UpdateEventSourceMappingRequest()
-
-
Method Details
-
setUUID
The event source mapping identifier.
- Parameters:
uUID
- The event source mapping identifier.
-
getUUID
The event source mapping identifier.
- Returns:
- The event source mapping identifier.
-
withUUID
The event source mapping identifier.
- Parameters:
uUID
- The event source mapping identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setFunctionName
The Lambda function to which you want the stream records sent.
You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
).If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
- Parameters:
functionName
- The Lambda function to which you want the stream records sent.You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
).If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
-
getFunctionName
The Lambda function to which you want the stream records sent.
You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
).If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
- Returns:
- The Lambda function to which you want the stream records
sent.
You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
).If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
-
withFunctionName
The Lambda function to which you want the stream records sent.
You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
).If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
- Parameters:
functionName
- The Lambda function to which you want the stream records sent.You can specify a function name (for example,
Thumbnail
) or you can specify Amazon Resource Name (ARN) of the function (for example,arn:aws:lambda:us-west-2:account-id:function:ThumbNail
). AWS Lambda also allows you to specify a partial ARN (for example,account-id:Thumbnail
).If you are using versioning, you can also provide a qualified function ARN (ARN that is qualified with function version or alias name as suffix). For more information about versioning, see AWS Lambda Function Versioning and Aliases
Note that the length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 character in length.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnabled
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
- Parameters:
enabled
- Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
-
getEnabled
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
- Returns:
- Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
-
withEnabled
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
- Parameters:
enabled
- Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
- Returns:
- Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
-
setBatchSize
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
- Parameters:
batchSize
- The maximum number of stream records that can be sent to your Lambda function for a single invocation.
-
getBatchSize
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
- Returns:
- The maximum number of stream records that can be sent to your Lambda function for a single invocation.
-
withBatchSize
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
- Parameters:
batchSize
- The maximum number of stream records that can be sent to your Lambda function for a single invocation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-