Interface RecordExpirySpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RecordExpirySpecification.Builder,,RecordExpirySpecification> SdkBuilder<RecordExpirySpecification.Builder,,RecordExpirySpecification> SdkPojo
- Enclosing class:
RecordExpirySpecification
@Mutable
@NotThreadSafe
public static interface RecordExpirySpecification.Builder
extends SdkPojo, CopyableBuilder<RecordExpirySpecification.Builder,RecordExpirySpecification>
-
Method Summary
Modifier and TypeMethodDescriptionThe action to apply to the existing record expiry (long-term memory time-to-live) configuration.action(RecordExpiryAction action) The action to apply to the existing record expiry (long-term memory time-to-live) configuration.recordExpiryDurationDays(Integer recordExpiryDurationDays) The duration, in days, after which memory records generated by this strategy expire.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
recordExpiryDurationDays
The duration, in days, after which memory records generated by this strategy expire. The minimum is 31 days.
- Parameters:
recordExpiryDurationDays- The duration, in days, after which memory records generated by this strategy expire. The minimum is 31 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
The action to apply to the existing record expiry (long-term memory time-to-live) configuration. Set to
REMOVEto remove a previously configured time-to-live so that newer records no longer expire. This value is not applicable on create paths.- Parameters:
action- The action to apply to the existing record expiry (long-term memory time-to-live) configuration. Set toREMOVEto remove a previously configured time-to-live so that newer records no longer expire. This value is not applicable on create paths.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
The action to apply to the existing record expiry (long-term memory time-to-live) configuration. Set to
REMOVEto remove a previously configured time-to-live so that newer records no longer expire. This value is not applicable on create paths.- Parameters:
action- The action to apply to the existing record expiry (long-term memory time-to-live) configuration. Set toREMOVEto remove a previously configured time-to-live so that newer records no longer expire. This value is not applicable on create paths.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-