AnnotationError Class
- java.
lang. Object - com.
azure. core. management. exception. ManagementError - com.
azure. resourcemanager. applicationinsights. models. AnnotationError
- com.
- com.
public final class AnnotationError
extends ManagementError
Error associated with trying to create annotation with Id that already exist.
Constructor Summary
| Constructor | Description |
|---|---|
| AnnotationError() |
Creates an instance of Annotation |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Annotation |
fromJson(JsonReader jsonReader)
Reads an instance of Annotation |
|
List<Additional |
getAdditionalInfo()
Get the additional |
| String |
getCode()
Get the code property: The error code parsed from the body of the http error response. |
|
List<Management |
getDetails()
Get the details property: Details for the error. |
|
Inner |
getInnererror()
Get the innererror property: Inner error. |
| String |
getMessage()
Get the message property: The error message parsed from the body of the http error response. |
| String |
getTarget()
Get the target property: The target of the error. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from ManagementError
Methods inherited from java.lang.Object
Constructor Details
AnnotationError
public AnnotationError()
Creates an instance of AnnotationError class.
Method Details
fromJson
public static AnnotationError fromJson(JsonReader jsonReader)
Reads an instance of AnnotationError from the JsonReader.
Parameters:
Returns:
Throws:
getAdditionalInfo
public List<AdditionalInfo> getAdditionalInfo()
Get the additionalInfo property: Additional info for the error.
Overrides:
AnnotationError.getAdditionalInfo()Returns:
getCode
public String getCode()
Get the code property: The error code parsed from the body of the http error response.
Overrides:
AnnotationError.getCode()Returns:
getDetails
public List<ManagementError> getDetails()
Get the details property: Details for the error.
Overrides:
AnnotationError.getDetails()Returns:
getInnererror
public InnerError getInnererror()
Get the innererror property: Inner error.
Returns:
getMessage
public String getMessage()
Get the message property: The error message parsed from the body of the http error response.
Overrides:
AnnotationError.getMessage()Returns:
getTarget
public String getTarget()
Get the target property: The target of the error.
Overrides:
AnnotationError.getTarget()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AnnotationError.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.