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

126 строки
9.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail"
name: "UserFacingWarningDetail"
nameWithType: "UserFacingWarningDetail"
summary: "Warning object used by layers that have access to localized content, and propagate that to user."
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 **UserFacingWarningDetail**</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.dataprotection.models.UserFacingWarningDetail?alt=com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail&text=UserFacingWarningDetail\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.UserFacingWarningDetail()"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.UserFacingWarningDetail()"
name: "UserFacingWarningDetail()"
nameWithType: "UserFacingWarningDetail.UserFacingWarningDetail()"
summary: "Creates an instance of User<wbr>Facing<wbr>Warning<wbr>Detail class."
syntax: "public UserFacingWarningDetail()"
desc: "Creates an instance of UserFacingWarningDetail class."
methods:
- uid: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "UserFacingWarningDetail.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of User<wbr>Facing<wbr>Warning<wbr>Detail 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 UserFacingWarningDetail 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 UserFacingWarningDetail from the JsonReader."
returns:
description: "An instance of UserFacingWarningDetail if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail?alt=com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail&text=UserFacingWarningDetail\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.resourceName()"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.resourceName()"
name: "resourceName()"
nameWithType: "UserFacingWarningDetail.resourceName()"
summary: "Get the resource<wbr>Name property: Name of resource for which warning is raised."
syntax: "public String resourceName()"
desc: "Get the resourceName property: Name of resource for which warning is raised."
returns:
description: "the resourceName value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "UserFacingWarningDetail.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.dataprotection.models.UserFacingWarningDetail.validate()"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.validate()"
name: "validate()"
nameWithType: "UserFacingWarningDetail.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.warning()"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.warning()"
name: "warning()"
nameWithType: "UserFacingWarningDetail.warning()"
summary: "Get the warning property: Error details for the warning."
syntax: "public UserFacingError warning()"
desc: "Get the warning property: Error details for the warning."
returns:
description: "the warning value."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.UserFacingError?alt=com.azure.resourcemanager.dataprotection.models.UserFacingError&text=UserFacingError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.withResourceName(java.lang.String)"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.withResourceName(String resourceName)"
name: "withResourceName(String resourceName)"
nameWithType: "UserFacingWarningDetail.withResourceName(String resourceName)"
summary: "Set the resource<wbr>Name property: Name of resource for which warning is raised."
parameters:
- description: "the resourceName value to set."
name: "resourceName"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public UserFacingWarningDetail withResourceName(String resourceName)"
desc: "Set the resourceName property: Name of resource for which warning is raised."
returns:
description: "the UserFacingWarningDetail object itself."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail?alt=com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail&text=UserFacingWarningDetail\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.withWarning(com.azure.resourcemanager.dataprotection.models.UserFacingError)"
fullName: "com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail.withWarning(UserFacingError warning)"
name: "withWarning(UserFacingError warning)"
nameWithType: "UserFacingWarningDetail.withWarning(UserFacingError warning)"
summary: "Set the warning property: Error details for the warning."
parameters:
- description: "the warning value to set."
name: "warning"
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.UserFacingError?alt=com.azure.resourcemanager.dataprotection.models.UserFacingError&text=UserFacingError\" data-throw-if-not-resolved=\"False\" />"
syntax: "public UserFacingWarningDetail withWarning(UserFacingError warning)"
desc: "Set the warning property: Error details for the warning."
returns:
description: "the UserFacingWarningDetail object itself."
type: "<xref href=\"com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail?alt=com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail&text=UserFacingWarningDetail\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Warning object used by layers that have access to localized content, and propagate that to user."
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.dataprotection.models.UserFacingWarningDetail?alt=com.azure.resourcemanager.dataprotection.models.UserFacingWarningDetail&text=UserFacingWarningDetail\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.dataprotection.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-dataprotection:1.3.0