public class InventoryConfiguration extends Object implements Serializable
| Constructor and Description |
|---|
InventoryConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOptionalField(String optionalField)
Add a field to the list of optional fields that are included in the inventory results.
|
InventoryDestination |
getDestination()
Gets the
InventoryDestination that contains information
about where to publish the inventory results. |
String |
getIncludedObjectVersions()
Gets which object version(s) to included in the inventory results.
|
InventoryFilter |
getInventoryFilter()
Gets the inventoryFilter used to describe a set of objects
to include in inventory results.
|
String |
getInventoryId()
Gets the ID used to identify the inventory configuration.
|
List<String> |
getOptionalFields()
Gets the optional fields that are included in the inventory results.
|
InventorySchedule |
getSchedule()
Gets the schedule for generating inventory results.
|
Boolean |
isEnabled()
Gets the inventory configuration status, true if the inventory configuration is enabled
or false if it is disabled
|
void |
setDestination(InventoryDestination destination)
Sets the
InventoryDestination that contains information
about where to publish the inventory results. |
void |
setEnabled(Boolean enabled)
Sets the value whether the inventory configuration is enabled or disabled.
|
void |
setIncludedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)
Sets which object version(s) to included in the inventory results.
|
void |
setIncludedObjectVersions(String includedObjectVersions)
Sets which object version(s) to included in the inventory results.
|
void |
setInventoryFilter(InventoryFilter inventoryFilter)
Sets the inventoryFilter used to describe a set of objects
to include in inventory results.
|
void |
setInventoryId(String inventoryId)
Sets the ID used to identify the inventory configuration.
|
void |
setOptionalFields(List<String> optionalFields)
Sets the optional fields that are included in the inventory results.
|
void |
setSchedule(InventorySchedule schedule)
Sets the schedule for generating inventory results.
|
InventoryConfiguration |
withDestination(InventoryDestination destination)
Sets the
InventoryDestination that contains information
about where to publish the inventory results. |
InventoryConfiguration |
withEnabled(Boolean enabled)
Sets the value whether the inventory configuration is enabled or disabled.
|
InventoryConfiguration |
withFilter(InventoryFilter inventoryFilter)
Sets the inventoryFilter used to describe a set of objects
to include in inventory results.
|
InventoryConfiguration |
withIncludedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)
Sets which object version(s) to included in the inventory results
And returns the
InventoryConfiguration object itself. |
InventoryConfiguration |
withIncludedObjectVersions(String includedObjectVersions)
Sets which object version(s) to included in the inventory results
And returns the
InventoryConfiguration object itself. |
InventoryConfiguration |
withInventoryId(String inventoryId)
Sets the ID used to identify the inventory configuration.
|
InventoryConfiguration |
withOptionalFields(List<String> optionalFields)
Sets the optional fields that are included in the inventory results.
|
InventoryConfiguration |
withSchedule(InventorySchedule schedule)
Gets the schedule for generating inventory results.
|
public String getInventoryId()
public void setInventoryId(String inventoryId)
inventoryId - the inventory idpublic InventoryConfiguration withInventoryId(String inventoryId)
InventoryConfiguration object itself.inventoryId - the inventory idInventoryConfiguration instance.public InventoryDestination getDestination()
InventoryDestination that contains information
about where to publish the inventory results.InventoryDestination instance.public void setDestination(InventoryDestination destination)
InventoryDestination that contains information
about where to publish the inventory results.destination - The InventoryDestination instance.public InventoryConfiguration withDestination(InventoryDestination destination)
InventoryDestination that contains information
about where to publish the inventory results.
And returns the InventoryConfiguration object itself.destination - The InventoryDestination instance.InventoryConfiguration instance.public Boolean isEnabled()
public void setEnabled(Boolean enabled)
enabled - inventory configuration is enabled or disabledpublic InventoryConfiguration withEnabled(Boolean enabled)
InventoryConfiguration object itself.enabled - the status of the inventory.InventoryConfiguration instance.public InventoryFilter getInventoryFilter()
InventoryFilter instance.public void setInventoryFilter(InventoryFilter inventoryFilter)
inventoryFilter - The InventoryFilter instance.public InventoryConfiguration withFilter(InventoryFilter inventoryFilter)
InventoryConfiguration object itself.inventoryFilter - The InventoryFilter instance.InventoryConfiguration instance.public String getIncludedObjectVersions()
public void setIncludedObjectVersions(String includedObjectVersions)
includedObjectVersions - the versioning information.public InventoryConfiguration withIncludedObjectVersions(String includedObjectVersions)
InventoryConfiguration object itself.includedObjectVersions - included object versions.InventoryConfiguration instance.public void setIncludedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)
includedObjectVersions - The InventoryIncludedObjectVersions instance.public InventoryConfiguration withIncludedObjectVersions(InventoryIncludedObjectVersions includedObjectVersions)
InventoryConfiguration object itself.includedObjectVersions - The InventoryIncludedObjectVersions instance.InventoryConfiguration instance.public List<String> getOptionalFields()
public void setOptionalFields(List<String> optionalFields)
optionalFields - a list of optional fieldspublic InventoryConfiguration withOptionalFields(List<String> optionalFields)
InventoryConfiguration object itself.optionalFields - a list of optional fieldsInventoryConfiguration instance.public void addOptionalField(String optionalField)
optionalField - the optional field.public InventorySchedule getSchedule()
InventorySchedule instance.public void setSchedule(InventorySchedule schedule)
schedule - The InventorySchedule instance.public InventoryConfiguration withSchedule(InventorySchedule schedule)
InventoryConfiguration object itself.schedule - The InventorySchedule instance.InventoryConfiguration instance.Copyright © 2023. All Rights Reserved.