public static interface InventoryConfiguration.Builder extends SdkPojo, 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)
Object versions to include in the inventory list.
|
InventoryConfiguration.Builder |
includedObjectVersions(String includedObjectVersions)
Object versions to include in the inventory list.
|
InventoryConfiguration.Builder |
isEnabled(Boolean isEnabled)
Specifies whether the inventory is enabled or disabled.
|
InventoryConfiguration.Builder |
optionalFields(Collection<InventoryOptionalField> optionalFields)
Contains the optional fields that are included in the inventory results.
|
InventoryConfiguration.Builder |
optionalFields(InventoryOptionalField... optionalFields)
Contains the optional fields that are included in the inventory results.
|
InventoryConfiguration.Builder |
optionalFieldsWithStrings(Collection<String> optionalFields)
Contains the optional fields that are included in the inventory results.
|
InventoryConfiguration.Builder |
optionalFieldsWithStrings(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.
|
copyapplyMutation, buildInventoryConfiguration.Builder destination(InventoryDestination destination)
Contains information about where to publish the inventory results.
destination - Contains information about where to publish the inventory results.default InventoryConfiguration.Builder destination(Consumer<InventoryDestination.Builder> destination)
Contains information about where to publish the inventory results.
This is a convenience that creates an instance of theInventoryDestination.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.Builderdestination(InventoryDestination)InventoryConfiguration.Builder isEnabled(Boolean isEnabled)
Specifies whether the inventory is enabled or disabled. If set to True, an inventory list is
generated. If set to False, no inventory list is generated.
isEnabled - Specifies whether the inventory is enabled or disabled. If set to True, an inventory list
is generated. If set to False, no inventory list is generated.InventoryConfiguration.Builder filter(InventoryFilter filter)
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
filter - Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.default InventoryConfiguration.Builder filter(Consumer<InventoryFilter.Builder> filter)
Specifies an inventory filter. The inventory only includes objects that meet the filter's criteria.
This is a convenience that creates an instance of theInventoryFilter.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.Builderfilter(InventoryFilter)InventoryConfiguration.Builder id(String id)
The ID used to identify the inventory configuration.
id - The ID used to identify the inventory configuration.InventoryConfiguration.Builder includedObjectVersions(String includedObjectVersions)
Object versions to include in the inventory list. If set to All, the list includes all the
object versions, which adds the version-related fields VersionId, IsLatest, and
DeleteMarker to the list. If set to Current, the list does not contain these
version-related fields.
includedObjectVersions - Object versions to include in the inventory list. If set to All, the list includes all
the object versions, which adds the version-related fields VersionId,
IsLatest, and DeleteMarker to the list. If set to Current, the
list does not contain these version-related fields.InventoryIncludedObjectVersions,
InventoryIncludedObjectVersionsInventoryConfiguration.Builder includedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)
Object versions to include in the inventory list. If set to All, the list includes all the
object versions, which adds the version-related fields VersionId, IsLatest, and
DeleteMarker to the list. If set to Current, the list does not contain these
version-related fields.
includedObjectVersions - Object versions to include in the inventory list. If set to All, the list includes all
the object versions, which adds the version-related fields VersionId,
IsLatest, and DeleteMarker to the list. If set to Current, the
list does not contain these version-related fields.InventoryIncludedObjectVersions,
InventoryIncludedObjectVersionsInventoryConfiguration.Builder optionalFieldsWithStrings(Collection<String> optionalFields)
Contains the optional fields that are included in the inventory results.
optionalFields - Contains the optional fields that are included in the inventory results.InventoryConfiguration.Builder optionalFieldsWithStrings(String... optionalFields)
Contains the optional fields that are included in the inventory results.
optionalFields - Contains the optional fields that are included in the inventory results.InventoryConfiguration.Builder optionalFields(Collection<InventoryOptionalField> optionalFields)
Contains the optional fields that are included in the inventory results.
optionalFields - Contains the optional fields that are included in the inventory results.InventoryConfiguration.Builder optionalFields(InventoryOptionalField... optionalFields)
Contains the optional fields that are included in the inventory results.
optionalFields - Contains the optional fields that are included in the inventory results.InventoryConfiguration.Builder schedule(InventorySchedule schedule)
Specifies the schedule for generating inventory results.
schedule - Specifies the schedule for generating inventory results.default InventoryConfiguration.Builder schedule(Consumer<InventorySchedule.Builder> schedule)
Specifies the schedule for generating inventory results.
This is a convenience that creates an instance of theInventorySchedule.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.Builderschedule(InventorySchedule)Copyright © 2019. All rights reserved.