126 строки
10 KiB
YAML
126 строки
10 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.cdn.models.CompressionSettings"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings"
|
|
name: "CompressionSettings"
|
|
nameWithType: "CompressionSettings"
|
|
summary: "settings for compression."
|
|
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 **CompressionSettings**</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.cdn.models.CompressionSettings?alt=com.azure.resourcemanager.cdn.models.CompressionSettings&text=CompressionSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.cdn.models.CompressionSettings.CompressionSettings()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings.CompressionSettings()"
|
|
name: "CompressionSettings()"
|
|
nameWithType: "CompressionSettings.CompressionSettings()"
|
|
summary: "Creates an instance of Compression<wbr>Settings class."
|
|
syntax: "public CompressionSettings()"
|
|
desc: "Creates an instance of CompressionSettings class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.cdn.models.CompressionSettings.contentTypesToCompress()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings.contentTypesToCompress()"
|
|
name: "contentTypesToCompress()"
|
|
nameWithType: "CompressionSettings.contentTypesToCompress()"
|
|
summary: "Get the content<wbr>Types<wbr>ToCompress property: List of content types on which compression applies."
|
|
syntax: "public List<String> contentTypesToCompress()"
|
|
desc: "Get the contentTypesToCompress property: List of content types on which compression applies. The value should be a valid MIME type."
|
|
returns:
|
|
description: "the contentTypesToCompress value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.cdn.models.CompressionSettings.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "CompressionSettings.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Compression<wbr>Settings 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 CompressionSettings fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If an error occurs while reading the CompressionSettings."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of CompressionSettings from the JsonReader."
|
|
returns:
|
|
description: "An instance of CompressionSettings 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.cdn.models.CompressionSettings?alt=com.azure.resourcemanager.cdn.models.CompressionSettings&text=CompressionSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.CompressionSettings.isCompressionEnabled()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings.isCompressionEnabled()"
|
|
name: "isCompressionEnabled()"
|
|
nameWithType: "CompressionSettings.isCompressionEnabled()"
|
|
summary: "Get the is<wbr>Compression<wbr>Enabled property: Indicates whether content compression is enabled on Azure<wbr>Front<wbr>Door."
|
|
syntax: "public Boolean isCompressionEnabled()"
|
|
desc: "Get the isCompressionEnabled property: Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB."
|
|
returns:
|
|
description: "the isCompressionEnabled value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.cdn.models.CompressionSettings.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "CompressionSettings.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.cdn.models.CompressionSettings.validate()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings.validate()"
|
|
name: "validate()"
|
|
nameWithType: "CompressionSettings.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.cdn.models.CompressionSettings.withContentTypesToCompress(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings.withContentTypesToCompress(List<String> contentTypesToCompress)"
|
|
name: "withContentTypesToCompress(List<String> contentTypesToCompress)"
|
|
nameWithType: "CompressionSettings.withContentTypesToCompress(List<String> contentTypesToCompress)"
|
|
summary: "Set the content<wbr>Types<wbr>ToCompress property: List of content types on which compression applies."
|
|
parameters:
|
|
- description: "the contentTypesToCompress value to set."
|
|
name: "contentTypesToCompress"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public CompressionSettings withContentTypesToCompress(List<String> contentTypesToCompress)"
|
|
desc: "Set the contentTypesToCompress property: List of content types on which compression applies. The value should be a valid MIME type."
|
|
returns:
|
|
description: "the CompressionSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.CompressionSettings?alt=com.azure.resourcemanager.cdn.models.CompressionSettings&text=CompressionSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.CompressionSettings.withIsCompressionEnabled(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.CompressionSettings.withIsCompressionEnabled(Boolean isCompressionEnabled)"
|
|
name: "withIsCompressionEnabled(Boolean isCompressionEnabled)"
|
|
nameWithType: "CompressionSettings.withIsCompressionEnabled(Boolean isCompressionEnabled)"
|
|
summary: "Set the is<wbr>Compression<wbr>Enabled property: Indicates whether content compression is enabled on Azure<wbr>Front<wbr>Door."
|
|
parameters:
|
|
- description: "the isCompressionEnabled value to set."
|
|
name: "isCompressionEnabled"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public CompressionSettings withIsCompressionEnabled(Boolean isCompressionEnabled)"
|
|
desc: "Set the isCompressionEnabled property: Indicates whether content compression is enabled on AzureFrontDoor. Default value is false. If compression is enabled, content will be served as compressed if user requests for a compressed version. Content won't be compressed on AzureFrontDoor when requested content is smaller than 1 byte or larger than 1 MB."
|
|
returns:
|
|
description: "the CompressionSettings object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.CompressionSettings?alt=com.azure.resourcemanager.cdn.models.CompressionSettings&text=CompressionSettings\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "settings for compression."
|
|
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.cdn.models.CompressionSettings?alt=com.azure.resourcemanager.cdn.models.CompressionSettings&text=CompressionSettings\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.cdn.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-cdn:2.44.0
|