azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.s...

136 строки
11 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties"
name: "LegalHoldProperties"
nameWithType: "LegalHoldProperties"
summary: "The Legal<wbr>Hold property of a blob container."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **LegalHoldProperties**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.storage.models.LegalHoldProperties?alt=com.azure.resourcemanager.storage.models.LegalHoldProperties&text=LegalHoldProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.LegalHoldProperties()"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.LegalHoldProperties()"
name: "LegalHoldProperties()"
nameWithType: "LegalHoldProperties.LegalHoldProperties()"
summary: "Creates an instance of Legal<wbr>Hold<wbr>Properties class."
syntax: "public LegalHoldProperties()"
desc: "Creates an instance of LegalHoldProperties class."
methods:
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "LegalHoldProperties.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Legal<wbr>Hold<wbr>Properties from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static LegalHoldProperties fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the LegalHoldProperties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of LegalHoldProperties from the JsonReader."
returns:
description: "An instance of LegalHoldProperties if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.storage.models.LegalHoldProperties?alt=com.azure.resourcemanager.storage.models.LegalHoldProperties&text=LegalHoldProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.hasLegalHold()"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.hasLegalHold()"
name: "hasLegalHold()"
nameWithType: "LegalHoldProperties.hasLegalHold()"
summary: "Get the has<wbr>Legal<wbr>Hold property: The has<wbr>Legal<wbr>Hold public property is set to true by SRP if there are at least one existing tag."
syntax: "public Boolean hasLegalHold()"
desc: "Get the hasLegalHold property: The hasLegalHold public property is set to true by SRP if there are at least one existing tag. The hasLegalHold public property is set to false by SRP if all existing legal hold tags are cleared out. There can be a maximum of 1000 blob containers with hasLegalHold=true for a given account."
returns:
description: "the hasLegalHold value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.protectedAppendWritesHistory()"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.protectedAppendWritesHistory()"
name: "protectedAppendWritesHistory()"
nameWithType: "LegalHoldProperties.protectedAppendWritesHistory()"
summary: "Get the protected<wbr>Append<wbr>Writes<wbr>History property: Protected append blob writes history."
syntax: "public ProtectedAppendWritesHistory protectedAppendWritesHistory()"
desc: "Get the protectedAppendWritesHistory property: Protected append blob writes history."
returns:
description: "the protectedAppendWritesHistory value."
type: "<xref href=\"com.azure.resourcemanager.storage.models.ProtectedAppendWritesHistory?alt=com.azure.resourcemanager.storage.models.ProtectedAppendWritesHistory&text=ProtectedAppendWritesHistory\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.tags()"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.tags()"
name: "tags()"
nameWithType: "LegalHoldProperties.tags()"
summary: "Get the tags property: The list of Legal<wbr>Hold tags of a blob container."
syntax: "public List<TagProperty> tags()"
desc: "Get the tags property: The list of LegalHold tags of a blob container."
returns:
description: "the tags value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.TagProperty?alt=com.azure.resourcemanager.storage.models.TagProperty&text=TagProperty\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "LegalHoldProperties.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.validate()"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.validate()"
name: "validate()"
nameWithType: "LegalHoldProperties.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.withProtectedAppendWritesHistory(com.azure.resourcemanager.storage.models.ProtectedAppendWritesHistory)"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.withProtectedAppendWritesHistory(ProtectedAppendWritesHistory protectedAppendWritesHistory)"
name: "withProtectedAppendWritesHistory(ProtectedAppendWritesHistory protectedAppendWritesHistory)"
nameWithType: "LegalHoldProperties.withProtectedAppendWritesHistory(ProtectedAppendWritesHistory protectedAppendWritesHistory)"
summary: "Set the protected<wbr>Append<wbr>Writes<wbr>History property: Protected append blob writes history."
parameters:
- description: "the protectedAppendWritesHistory value to set."
name: "protectedAppendWritesHistory"
type: "<xref href=\"com.azure.resourcemanager.storage.models.ProtectedAppendWritesHistory?alt=com.azure.resourcemanager.storage.models.ProtectedAppendWritesHistory&text=ProtectedAppendWritesHistory\" data-throw-if-not-resolved=\"False\" />"
syntax: "public LegalHoldProperties withProtectedAppendWritesHistory(ProtectedAppendWritesHistory protectedAppendWritesHistory)"
desc: "Set the protectedAppendWritesHistory property: Protected append blob writes history."
returns:
description: "the LegalHoldProperties object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.LegalHoldProperties?alt=com.azure.resourcemanager.storage.models.LegalHoldProperties&text=LegalHoldProperties\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.storage.models.LegalHoldProperties.withTags(java.util.List<com.azure.resourcemanager.storage.models.TagProperty>)"
fullName: "com.azure.resourcemanager.storage.models.LegalHoldProperties.withTags(List<TagProperty> tags)"
name: "withTags(List<TagProperty> tags)"
nameWithType: "LegalHoldProperties.withTags(List<TagProperty> tags)"
summary: "Set the tags property: The list of Legal<wbr>Hold tags of a blob container."
parameters:
- description: "the tags value to set."
name: "tags"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.storage.models.TagProperty?alt=com.azure.resourcemanager.storage.models.TagProperty&text=TagProperty\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public LegalHoldProperties withTags(List<TagProperty> tags)"
desc: "Set the tags property: The list of LegalHold tags of a blob container."
returns:
description: "the LegalHoldProperties object itself."
type: "<xref href=\"com.azure.resourcemanager.storage.models.LegalHoldProperties?alt=com.azure.resourcemanager.storage.models.LegalHoldProperties&text=LegalHoldProperties\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The LegalHold property of a blob container."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.storage.models.LegalHoldProperties?alt=com.azure.resourcemanager.storage.models.LegalHoldProperties&text=LegalHoldProperties\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.storage.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.44.0