Interface RecordExpiration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RecordExpiration.Builder,
,RecordExpiration> SdkBuilder<RecordExpiration.Builder,
,RecordExpiration> SdkPojo
- Enclosing class:
RecordExpiration
@Mutable
@NotThreadSafe
public static interface RecordExpiration.Builder
extends SdkPojo, CopyableBuilder<RecordExpiration.Builder,RecordExpiration>
-
Method Summary
Modifier and TypeMethodDescriptionIf you enable journal table record expiration, you can set the number of days to retain your journal table records.expiration
(String expiration) Specifies whether journal table record expiration is enabled or disabled.expiration
(ExpirationState expiration) Specifies whether journal table record expiration is enabled or disabled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
expiration
Specifies whether journal table record expiration is enabled or disabled.
- Parameters:
expiration
- Specifies whether journal table record expiration is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
expiration
Specifies whether journal table record expiration is enabled or disabled.
- Parameters:
expiration
- Specifies whether journal table record expiration is enabled or disabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
days
If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from
7
to2147483647
. For example, to retain your journal table records for one year, set this value to365
.- Parameters:
days
- If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from7
to2147483647
. For example, to retain your journal table records for one year, set this value to365
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-