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

126 строки
8.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.Context"
fullName: "com.azure.resourcemanager.monitor.models.Context"
name: "Context"
nameWithType: "Context"
summary: "The context info."
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 **Context**</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.monitor.models.Context?alt=com.azure.resourcemanager.monitor.models.Context&text=Context\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.monitor.models.Context.Context()"
fullName: "com.azure.resourcemanager.monitor.models.Context.Context()"
name: "Context()"
nameWithType: "Context.Context()"
summary: "Creates an instance of Context class."
syntax: "public Context()"
desc: "Creates an instance of Context class."
methods:
- uid: "com.azure.resourcemanager.monitor.models.Context.contextType()"
fullName: "com.azure.resourcemanager.monitor.models.Context.contextType()"
name: "contextType()"
nameWithType: "Context.contextType()"
summary: "Get the context<wbr>Type property: The context id type."
syntax: "public String contextType()"
desc: "Get the contextType property: The context id type."
returns:
description: "the contextType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.Context.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.monitor.models.Context.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "Context.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Context 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 Context fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the Context."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of Context from the JsonReader."
returns:
description: "An instance of Context if the JsonReader was pointing to an instance of it, or null if it was pointing to\n JSON null."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Context?alt=com.azure.resourcemanager.monitor.models.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Context.notificationSource()"
fullName: "com.azure.resourcemanager.monitor.models.Context.notificationSource()"
name: "notificationSource()"
nameWithType: "Context.notificationSource()"
summary: "Get the notification<wbr>Source property: The source of the notification request."
syntax: "public String notificationSource()"
desc: "Get the notificationSource property: The source of the notification request."
returns:
description: "the notificationSource value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.Context.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.monitor.models.Context.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "Context.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.monitor.models.Context.validate()"
fullName: "com.azure.resourcemanager.monitor.models.Context.validate()"
name: "validate()"
nameWithType: "Context.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.monitor.models.Context.withContextType(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.Context.withContextType(String contextType)"
name: "withContextType(String contextType)"
nameWithType: "Context.withContextType(String contextType)"
summary: "Set the context<wbr>Type property: The context id type."
parameters:
- description: "the contextType value to set."
name: "contextType"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Context withContextType(String contextType)"
desc: "Set the contextType property: The context id type."
returns:
description: "the Context object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Context?alt=com.azure.resourcemanager.monitor.models.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Context.withNotificationSource(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.Context.withNotificationSource(String notificationSource)"
name: "withNotificationSource(String notificationSource)"
nameWithType: "Context.withNotificationSource(String notificationSource)"
summary: "Set the notification<wbr>Source property: The source of the notification request."
parameters:
- description: "the notificationSource value to set."
name: "notificationSource"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Context withNotificationSource(String notificationSource)"
desc: "Set the notificationSource property: The source of the notification request."
returns:
description: "the Context object itself."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Context?alt=com.azure.resourcemanager.monitor.models.Context&text=Context\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The context info."
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.monitor.models.Context?alt=com.azure.resourcemanager.monitor.models.Context&text=Context\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0