Class InnerError
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.InnerError
-
public final class InnerError extends Object
Inner error details.
-
-
Constructor Summary
Constructors Constructor Description InnerError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringerrordetail()Get the errordetail property: The internal error message or exception dump.Stringexceptiontype()Get the exceptiontype property: The exception type.voidvalidate()Validates the instance.InnerErrorwithErrordetail(String errordetail)Set the errordetail property: The internal error message or exception dump.InnerErrorwithExceptiontype(String exceptiontype)Set the exceptiontype property: The exception type.
-
-
-
Method Detail
-
exceptiontype
public String exceptiontype()
Get the exceptiontype property: The exception type.- Returns:
- the exceptiontype value.
-
withExceptiontype
public InnerError withExceptiontype(String exceptiontype)
Set the exceptiontype property: The exception type.- Parameters:
exceptiontype- the exceptiontype value to set.- Returns:
- the InnerError object itself.
-
errordetail
public String errordetail()
Get the errordetail property: The internal error message or exception dump.- Returns:
- the errordetail value.
-
withErrordetail
public InnerError withErrordetail(String errordetail)
Set the errordetail property: The internal error message or exception dump.- Parameters:
errordetail- the errordetail value to set.- Returns:
- the InnerError object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-