public final class LastAccessTimeTrackingPolicy extends Object
| Constructor and Description |
|---|
LastAccessTimeTrackingPolicy() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
blobType()
Get the blobType property: An array of predefined supported blob types.
|
boolean |
enable()
Get the enable property: When set to true last access time based tracking is enabled.
|
Name |
name()
Get the name property: Name of the policy.
|
Integer |
trackingGranularityInDays()
Get the trackingGranularityInDays property: The field specifies blob object tracking granularity in days,
typically how often the blob object should be tracked.This field is currently read only with value as 1.
|
void |
validate()
Validates the instance.
|
LastAccessTimeTrackingPolicy |
withBlobType(List<String> blobType)
Set the blobType property: An array of predefined supported blob types.
|
LastAccessTimeTrackingPolicy |
withEnable(boolean enable)
Set the enable property: When set to true last access time based tracking is enabled.
|
LastAccessTimeTrackingPolicy |
withName(Name name)
Set the name property: Name of the policy.
|
LastAccessTimeTrackingPolicy |
withTrackingGranularityInDays(Integer trackingGranularityInDays)
Set the trackingGranularityInDays property: The field specifies blob object tracking granularity in days,
typically how often the blob object should be tracked.This field is currently read only with value as 1.
|
public boolean enable()
public LastAccessTimeTrackingPolicy withEnable(boolean enable)
enable - the enable value to set.public Name name()
public LastAccessTimeTrackingPolicy withName(Name name)
name - the name value to set.public Integer trackingGranularityInDays()
public LastAccessTimeTrackingPolicy withTrackingGranularityInDays(Integer trackingGranularityInDays)
trackingGranularityInDays - the trackingGranularityInDays value to set.public List<String> blobType()
public LastAccessTimeTrackingPolicy withBlobType(List<String> blobType)
blobType - the blobType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.