Class UpdateEventSourceMappingRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.lambda.model.UpdateEventSourceMappingRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class UpdateEventSourceMappingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description UpdateEventSourceMappingRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateEventSourceMappingRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetBatchSize()The maximum number of stream records that can be sent to your Lambda function for a single invocation.BooleangetEnabled()Specifies whether AWS Lambda should actively poll the stream or not.StringgetFunctionName()The Lambda function to which you want the stream records sent.StringgetUUID()The event source mapping identifier.inthashCode()BooleanisEnabled()Specifies whether AWS Lambda should actively poll the stream or not.voidsetBatchSize(Integer batchSize)The maximum number of stream records that can be sent to your Lambda function for a single invocation.voidsetEnabled(Boolean enabled)Specifies whether AWS Lambda should actively poll the stream or not.voidsetFunctionName(String functionName)The Lambda function to which you want the stream records sent.voidsetUUID(String uUID)The event source mapping identifier.StringtoString()Returns a string representation of this object; useful for testing and debugging.UpdateEventSourceMappingRequestwithBatchSize(Integer batchSize)The maximum number of stream records that can be sent to your Lambda function for a single invocation.UpdateEventSourceMappingRequestwithEnabled(Boolean enabled)Specifies whether AWS Lambda should actively poll the stream or not.UpdateEventSourceMappingRequestwithFunctionName(String functionName)The Lambda function to which you want the stream records sent.UpdateEventSourceMappingRequestwithUUID(String uUID)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
-
-
-
-
Method Detail
-
setUUID
public void setUUID(String uUID)
The event source mapping identifier.
- Parameters:
uUID- The event source mapping identifier.
-
getUUID
public String getUUID()
The event source mapping identifier.
- Returns:
- The event source mapping identifier.
-
withUUID
public UpdateEventSourceMappingRequest withUUID(String uUID)
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
public void setFunctionName(String 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.
- 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
public String 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
public UpdateEventSourceMappingRequest withFunctionName(String 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.
- 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
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.
- Parameters:
enabled- Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
-
getEnabled
public Boolean 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
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.
- 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
public Boolean 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
public void setBatchSize(Integer batchSize)
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
public Integer 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
public UpdateEventSourceMappingRequest withBatchSize(Integer batchSize)
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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateEventSourceMappingRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-