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

118 строки
7.3 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.support.v2020_04_01.ServiceError"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError"
name: "ServiceError"
nameWithType: "ServiceError"
summary: "The API error details."
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 **ServiceError**"
constructors:
- uid: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.ServiceError()"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.ServiceError()"
name: "ServiceError()"
nameWithType: "ServiceError.ServiceError()"
syntax: "public ServiceError()"
methods:
- uid: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.code()"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.code()"
name: "code()"
nameWithType: "ServiceError.code()"
summary: "Get the error code."
syntax: "public String code()"
desc: "Get the error code."
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.support.v2020_04_01.ServiceError.details()"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.details()"
name: "details()"
nameWithType: "ServiceError.details()"
summary: "Get the list of error details."
syntax: "public List<ServiceErrorDetail> details()"
desc: "Get the list of error details."
returns:
description: "the details value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.microsoft.azure.management.support.v2020_04_01.ServiceErrorDetail?alt=com.microsoft.azure.management.support.v2020_04_01.ServiceErrorDetail&text=ServiceErrorDetail\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.message()"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.message()"
name: "message()"
nameWithType: "ServiceError.message()"
summary: "Get the error message."
syntax: "public String message()"
desc: "Get the error message."
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.support.v2020_04_01.ServiceError.target()"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.target()"
name: "target()"
nameWithType: "ServiceError.target()"
summary: "Get the target of the error."
syntax: "public String target()"
desc: "Get the target of the error."
returns:
description: "the target value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.withCode(java.lang.String)"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.withCode(String code)"
name: "withCode(String code)"
nameWithType: "ServiceError.withCode(String code)"
summary: "Set the error code."
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 ServiceError withCode(String code)"
desc: "Set the error code."
returns:
description: "the ServiceError object itself."
type: "<xref href=\"com.microsoft.azure.management.support.v2020_04_01.ServiceError?alt=com.microsoft.azure.management.support.v2020_04_01.ServiceError&text=ServiceError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.withMessage(java.lang.String)"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.withMessage(String message)"
name: "withMessage(String message)"
nameWithType: "ServiceError.withMessage(String message)"
summary: "Set the error message."
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 ServiceError withMessage(String message)"
desc: "Set the error message."
returns:
description: "the ServiceError object itself."
type: "<xref href=\"com.microsoft.azure.management.support.v2020_04_01.ServiceError?alt=com.microsoft.azure.management.support.v2020_04_01.ServiceError&text=ServiceError\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.withTarget(java.lang.String)"
fullName: "com.microsoft.azure.management.support.v2020_04_01.ServiceError.withTarget(String target)"
name: "withTarget(String target)"
nameWithType: "ServiceError.withTarget(String target)"
summary: "Set the target of the error."
parameters:
- description: "the target value to set"
name: "target"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ServiceError withTarget(String target)"
desc: "Set the target of the error."
returns:
description: "the ServiceError object itself."
type: "<xref href=\"com.microsoft.azure.management.support.v2020_04_01.ServiceError?alt=com.microsoft.azure.management.support.v2020_04_01.ServiceError&text=ServiceError\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The API error details."
metadata: {}
package: "com.microsoft.azure.management.support.v2020_04_01"
artifact: com.microsoft.azure.support.v2020_04_01:azure-mgmt-support:1.0.0