Class InnerError
java.lang.Object
com.azure.resourcemanager.dataprotection.models.InnerError
InnerError
Inner Error.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalInfo property: Any Key value pairs that can be provided to the client for additional verbose information.code()
Get the code property: Unique code for this error.Get the embeddedInnerError property: InnerErrorvoid
validate()
Validates the instance.withAdditionalInfo
(Map<String, String> additionalInfo) Set the additionalInfo property: Any Key value pairs that can be provided to the client for additional verbose information.Set the code property: Unique code for this error.withEmbeddedInnerError
(InnerError embeddedInnerError) Set the embeddedInnerError property: InnerError
-
Constructor Details
-
InnerError
public InnerError()Creates an instance of InnerError class.
-
-
Method Details
-
additionalInfo
Get the additionalInfo property: Any Key value pairs that can be provided to the client for additional verbose information.- Returns:
- the additionalInfo value.
-
withAdditionalInfo
Set the additionalInfo property: Any Key value pairs that can be provided to the client for additional verbose information.- Parameters:
additionalInfo
- the additionalInfo value to set.- Returns:
- the InnerError object itself.
-
code
Get the code property: Unique code for this error.- Returns:
- the code value.
-
withCode
Set the code property: Unique code for this error.- Parameters:
code
- the code value to set.- Returns:
- the InnerError object itself.
-
embeddedInnerError
Get the embeddedInnerError property: InnerErrorChild Inner Error, to allow Nesting.
- Returns:
- the embeddedInnerError value.
-
withEmbeddedInnerError
Set the embeddedInnerError property: InnerErrorChild Inner Error, to allow Nesting.
- Parameters:
embeddedInnerError
- the embeddedInnerError value to set.- Returns:
- the InnerError object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-