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 configuration.action(RecordExpiryAction action) The action to apply to the existing record expiry configuration.recordExpiryDurationDays(Integer recordExpiryDurationDays) The duration, in days, after which the records in this request 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 the records in this request expire. The minimum is 31 days.
- Parameters:
recordExpiryDurationDays- The duration, in days, after which the records in this request 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 configuration. Set to
REMOVEto remove a previously configured expiry so that the records no longer expire. This value does not apply when creating records.- Parameters:
action- The action to apply to the existing record expiry configuration. Set toREMOVEto remove a previously configured expiry so that the records no longer expire. This value does not apply when creating records.- 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 configuration. Set to
REMOVEto remove a previously configured expiry so that the records no longer expire. This value does not apply when creating records.- Parameters:
action- The action to apply to the existing record expiry configuration. Set toREMOVEto remove a previously configured expiry so that the records no longer expire. This value does not apply when creating records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-