public final class BlobInventoryPolicySchema extends Object
| Constructor and Description |
|---|
BlobInventoryPolicySchema() |
| Modifier and Type | Method and Description |
|---|---|
String |
destination()
Get the destination property: Container name where blob inventory files are stored.
|
boolean |
enabled()
Get the enabled property: Policy is enabled if set to true.
|
List<BlobInventoryPolicyRule> |
rules()
Get the rules property: The storage account blob inventory policy rules.
|
InventoryRuleType |
type()
Get the type property: The valid value is Inventory.
|
void |
validate()
Validates the instance.
|
BlobInventoryPolicySchema |
withDestination(String destination)
Set the destination property: Container name where blob inventory files are stored.
|
BlobInventoryPolicySchema |
withEnabled(boolean enabled)
Set the enabled property: Policy is enabled if set to true.
|
BlobInventoryPolicySchema |
withRules(List<BlobInventoryPolicyRule> rules)
Set the rules property: The storage account blob inventory policy rules.
|
BlobInventoryPolicySchema |
withType(InventoryRuleType type)
Set the type property: The valid value is Inventory.
|
public boolean enabled()
public BlobInventoryPolicySchema withEnabled(boolean enabled)
enabled - the enabled value to set.public String destination()
public BlobInventoryPolicySchema withDestination(String destination)
destination - the destination value to set.public InventoryRuleType type()
public BlobInventoryPolicySchema withType(InventoryRuleType type)
type - the type value to set.public List<BlobInventoryPolicyRule> rules()
public BlobInventoryPolicySchema withRules(List<BlobInventoryPolicyRule> rules)
rules - the rules value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.