| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Inventory |
build()
Builds the configured instance.
|
Inventory.Builder |
destination(InventoryDestination destination)
Sets the value of
Inventory.getDestination() |
Inventory.Builder |
enabled(Boolean enabled)
Sets the value of
Inventory.getEnabled() |
Inventory.Builder |
format(InventoryFormat format)
Sets the value of
Inventory.getFormat() |
Inventory.Builder |
frequency(InventoryFrequency frequency)
Sets the value of
Inventory.getFrequency() |
Inventory.Builder |
includeObjectVersions(InventoryObjectVersion includeObjectVersions)
Sets the value of
Inventory.getIncludeObjectVersions() |
Inventory.Builder |
inventoryId(String inventoryId)
Sets the value of
Inventory.getInventoryId() |
Inventory.Builder |
objectsPrefix(String objectsPrefix)
Sets the value of
Inventory.getObjectsPrefix() |
Inventory.Builder |
optionalFields(List<String> optionalFields)
Sets the value of
Inventory.getOptionalFields() |
@Stability(value=Experimental) public Inventory.Builder destination(InventoryDestination destination)
Inventory.getDestination()destination - The destination of the inventory. This parameter is required.this@Stability(value=Experimental) public Inventory.Builder enabled(Boolean enabled)
Inventory.getEnabled()enabled - Whether the inventory is enabled or disabled.this@Stability(value=Experimental) public Inventory.Builder format(InventoryFormat format)
Inventory.getFormat()format - The format of the inventory.this@Stability(value=Experimental) public Inventory.Builder frequency(InventoryFrequency frequency)
Inventory.getFrequency()frequency - Frequency at which the inventory should be generated.this@Stability(value=Experimental) public Inventory.Builder includeObjectVersions(InventoryObjectVersion includeObjectVersions)
Inventory.getIncludeObjectVersions()includeObjectVersions - If the inventory should contain all the object versions or only the current one.this@Stability(value=Experimental) public Inventory.Builder inventoryId(String inventoryId)
Inventory.getInventoryId()inventoryId - The inventory configuration ID.this@Stability(value=Experimental) public Inventory.Builder objectsPrefix(String objectsPrefix)
Inventory.getObjectsPrefix()objectsPrefix - The inventory will only include objects that meet the prefix filter criteria.this@Stability(value=Experimental) public Inventory.Builder optionalFields(List<String> optionalFields)
Inventory.getOptionalFields()optionalFields - A list of optional fields to be included in the inventory result.this@Stability(value=Experimental) public Inventory build()
build in interface software.amazon.jsii.Builder<Inventory>InventoryNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.