public static class ArchivingConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ArchivingConfiguration.Builder |
activeStorageDuration(String activeStorageDuration)
This is the duration data in active storage before data is archived, as described in
https://en.wikipedia.org/wiki/ISO_8601#Durations.
|
ArchivingConfiguration.Builder |
archivalStorageDuration(String archivalStorageDuration)
This is the duration before archived data is deleted from object storage, as described in
https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g.
|
ArchivingConfiguration |
build() |
ArchivingConfiguration.Builder |
copy(ArchivingConfiguration model) |
public ArchivingConfiguration.Builder activeStorageDuration(String activeStorageDuration)
This is the duration data in active storage before data is archived, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
activeStorageDuration
- the value to setpublic ArchivingConfiguration.Builder archivalStorageDuration(String archivalStorageDuration)
This is the duration before archived data is deleted from object storage, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).
archivalStorageDuration
- the value to setpublic ArchivingConfiguration build()
public ArchivingConfiguration.Builder copy(ArchivingConfiguration model)
Copyright © 2016–2024. All rights reserved.