public class UpdateEventSourceMappingRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
batchSize
The maximum number of stream records that can be sent to your Lambda
function for a single invocation.
|
private java.lang.Boolean |
enabled
Specifies whether AWS Lambda should actively poll the stream or not.
|
private java.lang.String |
functionName
The Lambda function to which you want the stream records sent.
|
private java.lang.String |
uUID
The event source mapping identifier.
|
NOOP
Constructor and Description |
---|
UpdateEventSourceMappingRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateEventSourceMappingRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getBatchSize()
The maximum number of stream records that can be sent to your Lambda
function for a single invocation.
|
java.lang.Boolean |
getEnabled()
Specifies whether AWS Lambda should actively poll the stream or not.
|
java.lang.String |
getFunctionName()
The Lambda function to which you want the stream records sent.
|
java.lang.String |
getUUID()
The event source mapping identifier.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Specifies whether AWS Lambda should actively poll the stream or not.
|
void |
setBatchSize(java.lang.Integer batchSize)
The maximum number of stream records that can be sent to your Lambda
function for a single invocation.
|
void |
setEnabled(java.lang.Boolean enabled)
Specifies whether AWS Lambda should actively poll the stream or not.
|
void |
setFunctionName(java.lang.String functionName)
The Lambda function to which you want the stream records sent.
|
void |
setUUID(java.lang.String uUID)
The event source mapping identifier.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateEventSourceMappingRequest |
withBatchSize(java.lang.Integer batchSize)
The maximum number of stream records that can be sent to your Lambda
function for a single invocation.
|
UpdateEventSourceMappingRequest |
withEnabled(java.lang.Boolean enabled)
Specifies whether AWS Lambda should actively poll the stream or not.
|
UpdateEventSourceMappingRequest |
withFunctionName(java.lang.String functionName)
The Lambda function to which you want the stream records sent.
|
UpdateEventSourceMappingRequest |
withUUID(java.lang.String uUID)
The event source mapping identifier.
|
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
private java.lang.String uUID
The event source mapping identifier.
private java.lang.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.
private java.lang.Boolean enabled
Specifies whether AWS Lambda should actively poll the stream or not. If disabled, AWS Lambda will not poll the stream.
private java.lang.Integer batchSize
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
public void setUUID(java.lang.String uUID)
The event source mapping identifier.
uUID
- The event source mapping identifier.public java.lang.String getUUID()
The event source mapping identifier.
public UpdateEventSourceMappingRequest withUUID(java.lang.String uUID)
The event source mapping identifier.
uUID
- The event source mapping identifier.public void setFunctionName(java.lang.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.
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.
public java.lang.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.
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.
public UpdateEventSourceMappingRequest withFunctionName(java.lang.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.
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.
public void setEnabled(java.lang.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 java.lang.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(java.lang.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 java.lang.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(java.lang.Integer batchSize)
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
batchSize
- The maximum number of stream records that can be sent to your
Lambda function for a single invocation.public java.lang.Integer getBatchSize()
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
public UpdateEventSourceMappingRequest withBatchSize(java.lang.Integer batchSize)
The maximum number of stream records that can be sent to your Lambda function for a single invocation.
batchSize
- The maximum number of stream records that can be sent to your
Lambda function for a single invocation.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public UpdateEventSourceMappingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()