public final class BlobInventoryPolicyRule extends Object
| Constructor and Description |
|---|
BlobInventoryPolicyRule() |
| Modifier and Type | Method and Description |
|---|---|
BlobInventoryPolicyDefinition |
definition()
Get the definition property: An object that defines the blob inventory policy rule.
|
boolean |
enabled()
Get the enabled property: Rule is enabled when set to true.
|
String |
name()
Get the name property: A rule name can contain any combination of alpha numeric characters.
|
void |
validate()
Validates the instance.
|
BlobInventoryPolicyRule |
withDefinition(BlobInventoryPolicyDefinition definition)
Set the definition property: An object that defines the blob inventory policy rule.
|
BlobInventoryPolicyRule |
withEnabled(boolean enabled)
Set the enabled property: Rule is enabled when set to true.
|
BlobInventoryPolicyRule |
withName(String name)
Set the name property: A rule name can contain any combination of alpha numeric characters.
|
public boolean enabled()
public BlobInventoryPolicyRule withEnabled(boolean enabled)
enabled - the enabled value to set.public String name()
public BlobInventoryPolicyRule withName(String name)
name - the name value to set.public BlobInventoryPolicyDefinition definition()
public BlobInventoryPolicyRule withDefinition(BlobInventoryPolicyDefinition definition)
definition - the definition value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.