public static interface InventoryConfiguration.Builder extends software.amazon.awssdk.utils.builder.CopyableBuilder<InventoryConfiguration.Builder,InventoryConfiguration>
Modifier and Type | Method and Description |
---|---|
default InventoryConfiguration.Builder |
destination(Consumer<InventoryDestination.Builder> destination)
Contains information about where to publish the inventory results.
|
InventoryConfiguration.Builder |
destination(InventoryDestination destination)
Contains information about where to publish the inventory results.
|
default InventoryConfiguration.Builder |
filter(Consumer<InventoryFilter.Builder> filter)
Specifies an inventory filter.
|
InventoryConfiguration.Builder |
filter(InventoryFilter filter)
Specifies an inventory filter.
|
InventoryConfiguration.Builder |
id(String id)
The ID used to identify the inventory configuration.
|
InventoryConfiguration.Builder |
includedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)
Specifies which object version(s) to included in the inventory results.
|
InventoryConfiguration.Builder |
includedObjectVersions(String includedObjectVersions)
Specifies which object version(s) to included in the inventory results.
|
InventoryConfiguration.Builder |
isEnabled(Boolean isEnabled)
Specifies whether the inventory is enabled or disabled.
|
InventoryConfiguration.Builder |
optionalFields(Collection<String> optionalFields)
Contains the optional fields that are included in the inventory results.
|
InventoryConfiguration.Builder |
optionalFields(String... optionalFields)
Contains the optional fields that are included in the inventory results.
|
default InventoryConfiguration.Builder |
schedule(Consumer<InventorySchedule.Builder> schedule)
Specifies the schedule for generating inventory results.
|
InventoryConfiguration.Builder |
schedule(InventorySchedule schedule)
Specifies the schedule for generating inventory results.
|
InventoryConfiguration.Builder destination(InventoryDestination destination)
destination
- Contains information about where to publish the inventory results.default InventoryConfiguration.Builder destination(Consumer<InventoryDestination.Builder> destination)
InventoryDestination.Builder
avoiding the need to create one manually via
InventoryDestination.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to destination(InventoryDestination)
.destination
- a consumer that will call methods on InventoryDestination.Builder
destination(InventoryDestination)
InventoryConfiguration.Builder isEnabled(Boolean isEnabled)
isEnabled
- Specifies whether the inventory is enabled or disabled.InventoryConfiguration.Builder filter(InventoryFilter filter)
filter
- Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.default InventoryConfiguration.Builder filter(Consumer<InventoryFilter.Builder> filter)
InventoryFilter.Builder
avoiding the need to create one
manually via InventoryFilter.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to filter(InventoryFilter)
.filter
- a consumer that will call methods on InventoryFilter.Builder
filter(InventoryFilter)
InventoryConfiguration.Builder id(String id)
id
- The ID used to identify the inventory configuration.InventoryConfiguration.Builder includedObjectVersions(String includedObjectVersions)
includedObjectVersions
- Specifies which object version(s) to included in the inventory results.InventoryIncludedObjectVersions
,
InventoryIncludedObjectVersions
InventoryConfiguration.Builder includedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)
includedObjectVersions
- Specifies which object version(s) to included in the inventory results.InventoryIncludedObjectVersions
,
InventoryIncludedObjectVersions
InventoryConfiguration.Builder optionalFields(Collection<String> optionalFields)
optionalFields
- Contains the optional fields that are included in the inventory results.InventoryConfiguration.Builder optionalFields(String... optionalFields)
optionalFields
- Contains the optional fields that are included in the inventory results.InventoryConfiguration.Builder schedule(InventorySchedule schedule)
schedule
- Specifies the schedule for generating inventory results.default InventoryConfiguration.Builder schedule(Consumer<InventorySchedule.Builder> schedule)
InventorySchedule.Builder
avoiding the need to create one manually via
InventorySchedule.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to schedule(InventorySchedule)
.schedule
- a consumer that will call methods on InventorySchedule.Builder
schedule(InventorySchedule)
Copyright © 2017. All rights reserved.