Class AdditionalErrorInfo
java.lang.Object
com.azure.resourcemanager.databox.models.AdditionalErrorInfo
Additional error info.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AdditionalErrorInfo
public AdditionalErrorInfo()Creates an instance of AdditionalErrorInfo class.
-
-
Method Details
-
type
Get the type property: Additional error type.- Returns:
- the type value.
-
withType
Set the type property: Additional error type.- Parameters:
type
- the type value to set.- Returns:
- the AdditionalErrorInfo object itself.
-
info
Get the info property: Additional error info.- Returns:
- the info value.
-
withInfo
Set the info property: Additional error info.- Parameters:
info
- the info value to set.- Returns:
- the AdditionalErrorInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-