### YamlMime:JavaType uid: "com.azure.resourcemanager.appservice.models.LogSpecification" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification" name: "LogSpecification" nameWithType: "LogSpecification" summary: "Log Definition of a single resource metric." inheritances: - "" inheritedClassMethods: - classRef: "java.lang.Object" methodsRef: - "clone" - "equals" - "finalize" - "getClass" - "hashCode" - "notify" - "notifyAll" - "toString" - "wait" - "wait" - "wait" syntax: "public final class **LogSpecification**
implements <>" constructors: - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.LogSpecification()" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.LogSpecification()" name: "LogSpecification()" nameWithType: "LogSpecification.LogSpecification()" summary: "Creates an instance of LogSpecification class." syntax: "public LogSpecification()" desc: "Creates an instance of LogSpecification class." methods: - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.blobDuration()" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.blobDuration()" name: "blobDuration()" nameWithType: "LogSpecification.blobDuration()" summary: "Get the blobDuration property: The blobDuration property." syntax: "public String blobDuration()" desc: "Get the blobDuration property: The blobDuration property." returns: description: "the blobDuration value." type: "String" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.displayName()" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.displayName()" name: "displayName()" nameWithType: "LogSpecification.displayName()" summary: "Get the displayName property: The displayName property." syntax: "public String displayName()" desc: "Get the displayName property: The displayName property." returns: description: "the displayName value." type: "String" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.fromJson(com.azure.json.JsonReader)" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.fromJson(JsonReader jsonReader)" name: "fromJson(JsonReader jsonReader)" nameWithType: "LogSpecification.fromJson(JsonReader jsonReader)" summary: "Reads an instance of LogSpecification from the JsonReader." modifiers: - "static" parameters: - description: "The JsonReader being read." name: "jsonReader" type: "" syntax: "public static LogSpecification fromJson(JsonReader jsonReader)" exceptions: - description: "If an error occurs while reading the LogSpecification." type: "IOException" desc: "Reads an instance of LogSpecification from the JsonReader." returns: description: "An instance of LogSpecification if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null." type: "" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.logFilterPattern()" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.logFilterPattern()" name: "logFilterPattern()" nameWithType: "LogSpecification.logFilterPattern()" summary: "Get the logFilterPattern property: The logFilterPattern property." syntax: "public String logFilterPattern()" desc: "Get the logFilterPattern property: The logFilterPattern property." returns: description: "the logFilterPattern value." type: "String" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.name()" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.name()" name: "name()" nameWithType: "LogSpecification.name()" summary: "Get the name property: The name property." syntax: "public String name()" desc: "Get the name property: The name property." returns: description: "the name value." type: "String" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.toJson(com.azure.json.JsonWriter)" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.toJson(JsonWriter jsonWriter)" name: "toJson(JsonWriter jsonWriter)" nameWithType: "LogSpecification.toJson(JsonWriter jsonWriter)" parameters: - name: "jsonWriter" type: "" syntax: "public JsonWriter toJson(JsonWriter jsonWriter)" exceptions: - type: "IOException" returns: type: "" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.validate()" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.validate()" name: "validate()" nameWithType: "LogSpecification.validate()" summary: "Validates the instance." syntax: "public void validate()" desc: "Validates the instance." - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.withBlobDuration(java.lang.String)" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.withBlobDuration(String blobDuration)" name: "withBlobDuration(String blobDuration)" nameWithType: "LogSpecification.withBlobDuration(String blobDuration)" summary: "Set the blobDuration property: The blobDuration property." parameters: - description: "the blobDuration value to set." name: "blobDuration" type: "String" syntax: "public LogSpecification withBlobDuration(String blobDuration)" desc: "Set the blobDuration property: The blobDuration property." returns: description: "the LogSpecification object itself." type: "" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.withDisplayName(java.lang.String)" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.withDisplayName(String displayName)" name: "withDisplayName(String displayName)" nameWithType: "LogSpecification.withDisplayName(String displayName)" summary: "Set the displayName property: The displayName property." parameters: - description: "the displayName value to set." name: "displayName" type: "String" syntax: "public LogSpecification withDisplayName(String displayName)" desc: "Set the displayName property: The displayName property." returns: description: "the LogSpecification object itself." type: "" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.withLogFilterPattern(java.lang.String)" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.withLogFilterPattern(String logFilterPattern)" name: "withLogFilterPattern(String logFilterPattern)" nameWithType: "LogSpecification.withLogFilterPattern(String logFilterPattern)" summary: "Set the logFilterPattern property: The logFilterPattern property." parameters: - description: "the logFilterPattern value to set." name: "logFilterPattern" type: "String" syntax: "public LogSpecification withLogFilterPattern(String logFilterPattern)" desc: "Set the logFilterPattern property: The logFilterPattern property." returns: description: "the LogSpecification object itself." type: "" - uid: "com.azure.resourcemanager.appservice.models.LogSpecification.withName(java.lang.String)" fullName: "com.azure.resourcemanager.appservice.models.LogSpecification.withName(String name)" name: "withName(String name)" nameWithType: "LogSpecification.withName(String name)" summary: "Set the name property: The name property." parameters: - description: "the name value to set." name: "name" type: "String" syntax: "public LogSpecification withName(String name)" desc: "Set the name property: The name property." returns: description: "the LogSpecification object itself." type: "" type: "class" desc: "Log Definition of a single resource metric." implements: - "<>" metadata: {} package: "com.azure.resourcemanager.appservice.models" artifact: com.azure.resourcemanager:azure-resourcemanager-appservice:2.42.0