Interface RetentionPolicy.Builder
- Enclosing interface:
RetentionPolicy
public static interface RetentionPolicy.Builder
Dedicated Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create instancesetRetentionType
(RetentionPolicyType 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
RetentionPolicy build()Create instance- Returns:
- The instance build with current builder values
-