@Generated(value="software.amazon.awssdk:codegen") public final class UpdateEventSourceMappingRequest extends LambdaRequest implements ToCopyableBuilder<UpdateEventSourceMappingRequest.Builder,UpdateEventSourceMappingRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
UpdateEventSourceMappingRequest.Builder |
Modifier and Type | Method and Description |
---|---|
Integer |
batchSize()
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
|
static UpdateEventSourceMappingRequest.Builder |
builder() |
Boolean |
enabled()
Specifies whether AWS Lambda should actively poll the stream or not.
|
boolean |
equals(Object obj) |
String |
functionName()
The Lambda function to which you want the stream records sent.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
static Class<? extends UpdateEventSourceMappingRequest.Builder> |
serializableBuilderClass() |
UpdateEventSourceMappingRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
uuid()
The event source mapping identifier.
|
overrideConfiguration
copy
public String uuid()
The event source mapping identifier.
public 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
). Note that the
length constraint applies only to the ARN. If you specify only the function name, it is limited to 64 characters
in length.
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.
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
). Note that the length constraint
applies only to the ARN. If you specify only the function name, it is limited to 64 characters in length.
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.
public Boolean enabled()
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
public Integer batchSize()
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
public UpdateEventSourceMappingRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UpdateEventSourceMappingRequest.Builder,UpdateEventSourceMappingRequest>
toBuilder
in class LambdaRequest
public static UpdateEventSourceMappingRequest.Builder builder()
public static Class<? extends UpdateEventSourceMappingRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.