Class ServiceErrorDetail
- java.lang.Object
-
- com.azure.resourcemanager.quota.models.ServiceErrorDetail
-
public final class ServiceErrorDetail extends Object
Error details.
-
-
Constructor Summary
Constructors Constructor Description ServiceErrorDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
code()
Get the code property: Error code.String
message()
Get the message property: Error message.void
validate()
Validates the instance.
-
-
-
Method Detail
-
code
public String code()
Get the code property: Error code.- Returns:
- the code value.
-
message
public String message()
Get the message property: Error message.- Returns:
- the message value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-