public final class LegalHoldProperties extends Object
| Constructor and Description |
|---|
LegalHoldProperties() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
hasLegalHold()
Get the hasLegalHold property: The hasLegalHold public property is set to true by SRP if there are at least one
existing tag.
|
List<TagProperty> |
tags()
Get the tags property: The list of LegalHold tags of a blob container.
|
void |
validate()
Validates the instance.
|
LegalHoldProperties |
withTags(List<TagProperty> tags)
Set the tags property: The list of LegalHold tags of a blob container.
|
public Boolean hasLegalHold()
public List<TagProperty> tags()
public LegalHoldProperties withTags(List<TagProperty> tags)
tags - the tags value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.