Class DurableConfig
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.DurableConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DurableConfig.Builder,DurableConfig>
@Generated("software.amazon.awssdk:codegen") public final class DurableConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DurableConfig.Builder,DurableConfig>
Configuration settings for durable functions, including execution timeout and retention period for execution history.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDurableConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DurableConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerexecutionTimeout()The maximum time (in seconds) that a durable execution can run before timing out.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegerretentionPeriodInDays()The number of days to retain execution history after a durable execution completes.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DurableConfig.Builder>serializableBuilderClass()DurableConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
retentionPeriodInDays
public final Integer retentionPeriodInDays()
The number of days to retain execution history after a durable execution completes. After this period, execution history is no longer available through the GetDurableExecutionHistory API.
- Returns:
- The number of days to retain execution history after a durable execution completes. After this period, execution history is no longer available through the GetDurableExecutionHistory API.
-
executionTimeout
public final Integer executionTimeout()
The maximum time (in seconds) that a durable execution can run before timing out. This timeout applies to the entire durable execution, not individual function invocations.
- Returns:
- The maximum time (in seconds) that a durable execution can run before timing out. This timeout applies to the entire durable execution, not individual function invocations.
-
toBuilder
public DurableConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DurableConfig.Builder,DurableConfig>
-
builder
public static DurableConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends DurableConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-