Class AssetStatusError
java.lang.Object
com.azure.resourcemanager.deviceregistry.models.AssetStatusError
Defines the asset status error properties.
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: Error code for classification of errors (ex: 400, 404, 500, etc.).message()
Get the message property: Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).void
validate()
Validates the instance.
-
Method Details
-
code
Get the code property: Error code for classification of errors (ex: 400, 404, 500, etc.).- Returns:
- the code value.
-
message
Get the message property: Human readable helpful error message to provide additional context for error (ex: “capability Id 'foo' does not exist”).- Returns:
- the message value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-