Interface DispatchRetentionPolicy.Builder
- Enclosing interface:
DispatchRetentionPolicy
public static interface DispatchRetentionPolicy.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetRetentionType
(DispatchRetentionPolicyType retentionType) see gettersetTtlDays
(Long ttlDays) see getter
-
Method Details
-
setRetentionType
see getter- Parameters:
retentionType
- see getter- Returns:
- Current builder
- See Also:
-
setTtlDays
see getter- Parameters:
ttlDays
- see getter- Returns:
- Current builder
- See Also:
-
build
DispatchRetentionPolicy build()Create instance- Returns:
- The instance build with current builder values
-