102 строки
7.2 KiB
YAML
102 строки
7.2 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.storage.models.CorsRules"
|
|
fullName: "com.azure.resourcemanager.storage.models.CorsRules"
|
|
name: "CorsRules"
|
|
nameWithType: "CorsRules"
|
|
summary: "Sets the CORS rules."
|
|
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 **CorsRules**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.storage.models.CorsRules?alt=com.azure.resourcemanager.storage.models.CorsRules&text=CorsRules\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.storage.models.CorsRules.CorsRules()"
|
|
fullName: "com.azure.resourcemanager.storage.models.CorsRules.CorsRules()"
|
|
name: "CorsRules()"
|
|
nameWithType: "CorsRules.CorsRules()"
|
|
summary: "Creates an instance of Cors<wbr>Rules class."
|
|
syntax: "public CorsRules()"
|
|
desc: "Creates an instance of CorsRules class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.storage.models.CorsRules.corsRules()"
|
|
fullName: "com.azure.resourcemanager.storage.models.CorsRules.corsRules()"
|
|
name: "corsRules()"
|
|
nameWithType: "CorsRules.corsRules()"
|
|
summary: "Get the cors<wbr>Rules property: The List of CORS rules."
|
|
syntax: "public List<CorsRule> corsRules()"
|
|
desc: "Get the corsRules property: The List of CORS rules. You can include up to five CorsRule elements in the request."
|
|
returns:
|
|
description: "the corsRules value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.storage.models.CorsRule?alt=com.azure.resourcemanager.storage.models.CorsRule&text=CorsRule\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.resourcemanager.storage.models.CorsRules.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.storage.models.CorsRules.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "CorsRules.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Cors<wbr>Rules 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 CorsRules fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the CorsRules."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of CorsRules from the JsonReader."
|
|
returns:
|
|
description: "An instance of CorsRules if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.storage.models.CorsRules?alt=com.azure.resourcemanager.storage.models.CorsRules&text=CorsRules\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.storage.models.CorsRules.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.storage.models.CorsRules.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "CorsRules.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.CorsRules.validate()"
|
|
fullName: "com.azure.resourcemanager.storage.models.CorsRules.validate()"
|
|
name: "validate()"
|
|
nameWithType: "CorsRules.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.storage.models.CorsRules.withCorsRules(java.util.List<com.azure.resourcemanager.storage.models.CorsRule>)"
|
|
fullName: "com.azure.resourcemanager.storage.models.CorsRules.withCorsRules(List<CorsRule> corsRules)"
|
|
name: "withCorsRules(List<CorsRule> corsRules)"
|
|
nameWithType: "CorsRules.withCorsRules(List<CorsRule> corsRules)"
|
|
summary: "Set the cors<wbr>Rules property: The List of CORS rules."
|
|
parameters:
|
|
- description: "the corsRules value to set."
|
|
name: "corsRules"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.resourcemanager.storage.models.CorsRule?alt=com.azure.resourcemanager.storage.models.CorsRule&text=CorsRule\" data-throw-if-not-resolved=\"False\" />>"
|
|
syntax: "public CorsRules withCorsRules(List<CorsRule> corsRules)"
|
|
desc: "Set the corsRules property: The List of CORS rules. You can include up to five CorsRule elements in the request."
|
|
returns:
|
|
description: "the CorsRules object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.storage.models.CorsRules?alt=com.azure.resourcemanager.storage.models.CorsRules&text=CorsRules\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Sets the CORS rules. You can include up to five CorsRule elements in the request."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.storage.models.CorsRules?alt=com.azure.resourcemanager.storage.models.CorsRules&text=CorsRules\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.storage.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-storage:2.44.0
|