Class LambdaParameters
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LambdaParameters.Builder,LambdaParameters>
Lambda invocation parameters for subscribers. Values are forwarded to the Lambda Invoke API. Every string member accepts a literal or a JSONata expression (e.g. "{% $events.Data.qualifier %}").
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LambdaParameters.Builderbuilder()final StringDurable execution name.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringTimeout in seconds for each invocation of the target.final InvocationTypeLambda invocation type.final StringLambda invocation type.final StringLambda qualifier: $LATEST, $LATEST.PUBLISHED, a numeric version, or an alias.static Class<? extends LambdaParameters.Builder> final StringtenantId()Tenant identifier.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
invocationType
Lambda invocation type. EVENT invokes the function asynchronously; REQUEST_RESPONSE waits for its result.
If the service returns an enum value that is not available in the current SDK version,
invocationTypewill returnInvocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvocationTypeAsString().- Returns:
- Lambda invocation type. EVENT invokes the function asynchronously; REQUEST_RESPONSE waits for its result.
- See Also:
-
invocationTypeAsString
Lambda invocation type. EVENT invokes the function asynchronously; REQUEST_RESPONSE waits for its result.
If the service returns an enum value that is not available in the current SDK version,
invocationTypewill returnInvocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominvocationTypeAsString().- Returns:
- Lambda invocation type. EVENT invokes the function asynchronously; REQUEST_RESPONSE waits for its result.
- See Also:
-
qualifier
Lambda qualifier: $LATEST, $LATEST.PUBLISHED, a numeric version, or an alias. Accepts a JSONata expression.
- Returns:
- Lambda qualifier: $LATEST, $LATEST.PUBLISHED, a numeric version, or an alias. Accepts a JSONata expression.
-
durableExecutionName
Durable execution name. Accepts a JSONata expression.
- Returns:
- Durable execution name. Accepts a JSONata expression.
-
tenantId
Tenant identifier. Accepts a JSONata expression.
- Returns:
- Tenant identifier. Accepts a JSONata expression.
-
invocationTimeoutSeconds
Timeout in seconds for each invocation of the target. String-typed so the value may be a JSONata expression.
- Returns:
- Timeout in seconds for each invocation of the target. String-typed so the value may be a JSONata expression.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<LambdaParameters.Builder,LambdaParameters> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-