@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:55.491Z") @Stability(value=Experimental) public enum InventoryFrequency extends Enum<InventoryFrequency>
Example:
Bucket inventoryBucket = new Bucket(this, "InventoryBucket");
Bucket dataBucket = Bucket.Builder.create(this, "DataBucket")
.inventories(List.of(Inventory.builder()
.frequency(InventoryFrequency.DAILY)
.includeObjectVersions(InventoryObjectVersion.CURRENT)
.destination(InventoryDestination.builder()
.bucket(inventoryBucket)
.build())
.build(), Inventory.builder()
.frequency(InventoryFrequency.WEEKLY)
.includeObjectVersions(InventoryObjectVersion.ALL)
.destination(InventoryDestination.builder()
.bucket(inventoryBucket)
.prefix("with-all-versions")
.build())
.build()))
.build();
| Enum Constant and Description |
|---|
DAILY
(experimental) A report is generated every day.
|
WEEKLY
(experimental) A report is generated every Sunday (UTC timezone) after the initial report.
|
| Modifier and Type | Method and Description |
|---|---|
static InventoryFrequency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InventoryFrequency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final InventoryFrequency DAILY
@Stability(value=Experimental) public static final InventoryFrequency WEEKLY
public static InventoryFrequency[] values()
for (InventoryFrequency c : InventoryFrequency.values()) System.out.println(c);
public static InventoryFrequency valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.