160 строки
11 KiB
YAML
160 строки
11 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.monitor.models.EmailReceiver"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver"
|
|
name: "EmailReceiver"
|
|
nameWithType: "EmailReceiver"
|
|
summary: "An email receiver."
|
|
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 **EmailReceiver**</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.monitor.models.EmailReceiver?alt=com.azure.resourcemanager.monitor.models.EmailReceiver&text=EmailReceiver\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.EmailReceiver()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.EmailReceiver()"
|
|
name: "EmailReceiver()"
|
|
nameWithType: "EmailReceiver.EmailReceiver()"
|
|
summary: "Creates an instance of Email<wbr>Receiver class."
|
|
syntax: "public EmailReceiver()"
|
|
desc: "Creates an instance of EmailReceiver class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.emailAddress()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.emailAddress()"
|
|
name: "emailAddress()"
|
|
nameWithType: "EmailReceiver.emailAddress()"
|
|
summary: "Get the email<wbr>Address property: The email address of this receiver."
|
|
syntax: "public String emailAddress()"
|
|
desc: "Get the emailAddress property: The email address of this receiver."
|
|
returns:
|
|
description: "the emailAddress value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "EmailReceiver.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Email<wbr>Receiver 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 EmailReceiver fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of EmailReceiver from the JsonReader."
|
|
returns:
|
|
description: "An instance of EmailReceiver 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.monitor.models.EmailReceiver?alt=com.azure.resourcemanager.monitor.models.EmailReceiver&text=EmailReceiver\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.name()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.name()"
|
|
name: "name()"
|
|
nameWithType: "EmailReceiver.name()"
|
|
summary: "Get the name property: The name of the email receiver."
|
|
syntax: "public String name()"
|
|
desc: "Get the name property: The name of the email receiver. Names must be unique across all receivers within an action group."
|
|
returns:
|
|
description: "the name value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.status()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.status()"
|
|
name: "status()"
|
|
nameWithType: "EmailReceiver.status()"
|
|
summary: "Get the status property: The receiver status of the e-mail."
|
|
syntax: "public ReceiverStatus status()"
|
|
desc: "Get the status property: The receiver status of the e-mail."
|
|
returns:
|
|
description: "the status value."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.ReceiverStatus?alt=com.azure.resourcemanager.monitor.models.ReceiverStatus&text=ReceiverStatus\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "EmailReceiver.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.EmailReceiver.useCommonAlertSchema()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.useCommonAlertSchema()"
|
|
name: "useCommonAlertSchema()"
|
|
nameWithType: "EmailReceiver.useCommonAlertSchema()"
|
|
summary: "Get the use<wbr>Common<wbr>Alert<wbr>Schema property: Indicates whether to use common alert schema."
|
|
syntax: "public Boolean useCommonAlertSchema()"
|
|
desc: "Get the useCommonAlertSchema property: Indicates whether to use common alert schema."
|
|
returns:
|
|
description: "the useCommonAlertSchema value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.validate()"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.validate()"
|
|
name: "validate()"
|
|
nameWithType: "EmailReceiver.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.withEmailAddress(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.withEmailAddress(String emailAddress)"
|
|
name: "withEmailAddress(String emailAddress)"
|
|
nameWithType: "EmailReceiver.withEmailAddress(String emailAddress)"
|
|
summary: "Set the email<wbr>Address property: The email address of this receiver."
|
|
parameters:
|
|
- description: "the emailAddress value to set."
|
|
name: "emailAddress"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public EmailReceiver withEmailAddress(String emailAddress)"
|
|
desc: "Set the emailAddress property: The email address of this receiver."
|
|
returns:
|
|
description: "the EmailReceiver object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.EmailReceiver?alt=com.azure.resourcemanager.monitor.models.EmailReceiver&text=EmailReceiver\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.withName(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.withName(String name)"
|
|
name: "withName(String name)"
|
|
nameWithType: "EmailReceiver.withName(String name)"
|
|
summary: "Set the name property: The name of the email receiver."
|
|
parameters:
|
|
- description: "the name value to set."
|
|
name: "name"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public EmailReceiver withName(String name)"
|
|
desc: "Set the name property: The name of the email receiver. Names must be unique across all receivers within an action group."
|
|
returns:
|
|
description: "the EmailReceiver object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.EmailReceiver?alt=com.azure.resourcemanager.monitor.models.EmailReceiver&text=EmailReceiver\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.monitor.models.EmailReceiver.withUseCommonAlertSchema(java.lang.Boolean)"
|
|
fullName: "com.azure.resourcemanager.monitor.models.EmailReceiver.withUseCommonAlertSchema(Boolean useCommonAlertSchema)"
|
|
name: "withUseCommonAlertSchema(Boolean useCommonAlertSchema)"
|
|
nameWithType: "EmailReceiver.withUseCommonAlertSchema(Boolean useCommonAlertSchema)"
|
|
summary: "Set the use<wbr>Common<wbr>Alert<wbr>Schema property: Indicates whether to use common alert schema."
|
|
parameters:
|
|
- description: "the useCommonAlertSchema value to set."
|
|
name: "useCommonAlertSchema"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
|
|
syntax: "public EmailReceiver withUseCommonAlertSchema(Boolean useCommonAlertSchema)"
|
|
desc: "Set the useCommonAlertSchema property: Indicates whether to use common alert schema."
|
|
returns:
|
|
description: "the EmailReceiver object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.monitor.models.EmailReceiver?alt=com.azure.resourcemanager.monitor.models.EmailReceiver&text=EmailReceiver\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "An email receiver."
|
|
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.monitor.models.EmailReceiver?alt=com.azure.resourcemanager.monitor.models.EmailReceiver&text=EmailReceiver\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.monitor.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0
|