azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

84 строки
5.2 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.resources.ErrorDefinition"
fullName: "com.microsoft.azure.management.resources.ErrorDefinition"
name: "ErrorDefinition"
nameWithType: "ErrorDefinition"
summary: "Error description and code explaining why resource name is invalid."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **ErrorDefinition**"
constructors:
- uid: "com.microsoft.azure.management.resources.ErrorDefinition.ErrorDefinition()"
fullName: "com.microsoft.azure.management.resources.ErrorDefinition.ErrorDefinition()"
name: "ErrorDefinition()"
nameWithType: "ErrorDefinition.ErrorDefinition()"
syntax: "public ErrorDefinition()"
methods:
- uid: "com.microsoft.azure.management.resources.ErrorDefinition.code()"
fullName: "com.microsoft.azure.management.resources.ErrorDefinition.code()"
name: "code()"
nameWithType: "ErrorDefinition.code()"
summary: "Get code of the error."
syntax: "public String code()"
desc: "Get code of the error."
returns:
description: "the code value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.resources.ErrorDefinition.message()"
fullName: "com.microsoft.azure.management.resources.ErrorDefinition.message()"
name: "message()"
nameWithType: "ErrorDefinition.message()"
summary: "Get description of the error."
syntax: "public String message()"
desc: "Get description of the error."
returns:
description: "the message value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.resources.ErrorDefinition.withCode(java.lang.String)"
fullName: "com.microsoft.azure.management.resources.ErrorDefinition.withCode(String code)"
name: "withCode(String code)"
nameWithType: "ErrorDefinition.withCode(String code)"
summary: "Set code of the error."
parameters:
- description: "the code value to set"
name: "code"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ErrorDefinition withCode(String code)"
desc: "Set code of the error."
returns:
description: "the ErrorDefinition object itself."
type: "<xref href=\"com.microsoft.azure.management.resources.ErrorDefinition?alt=com.microsoft.azure.management.resources.ErrorDefinition&text=ErrorDefinition\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.resources.ErrorDefinition.withMessage(java.lang.String)"
fullName: "com.microsoft.azure.management.resources.ErrorDefinition.withMessage(String message)"
name: "withMessage(String message)"
nameWithType: "ErrorDefinition.withMessage(String message)"
summary: "Set description of the error."
parameters:
- description: "the message value to set"
name: "message"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ErrorDefinition withMessage(String message)"
desc: "Set description of the error."
returns:
description: "the ErrorDefinition object itself."
type: "<xref href=\"com.microsoft.azure.management.resources.ErrorDefinition?alt=com.microsoft.azure.management.resources.ErrorDefinition&text=ErrorDefinition\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Error description and code explaining why resource name is invalid."
metadata: {}
package: "com.microsoft.azure.management.resources"
artifact: com.microsoft.azure:azure-mgmt-resources:1.41.4