Class Error
- java.lang.Object
-
- com.microsoft.azure.management.network.Error
-
public class Error extends Object
The Error model.
-
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcode()Get the code value.List<ErrorDetails>details()Get the details value.StringinnerError()Get the innerError value.Stringmessage()Get the message value.Stringtarget()Get the target value.ErrorwithCode(String code)Set the code value.ErrorwithDetails(List<ErrorDetails> details)Set the details value.ErrorwithInnerError(String innerError)Set the innerError value.ErrorwithMessage(String message)Set the message value.ErrorwithTarget(String target)Set the target value.
-
-
-
Method Detail
-
code
public String code()
Get the code value.- Returns:
- the code value
-
withCode
public Error withCode(String code)
Set the code value.- Parameters:
code- the code value to set- Returns:
- the Error object itself.
-
message
public String message()
Get the message value.- Returns:
- the message value
-
withMessage
public Error withMessage(String message)
Set the message value.- Parameters:
message- the message value to set- Returns:
- the Error object itself.
-
target
public String target()
Get the target value.- Returns:
- the target value
-
withTarget
public Error withTarget(String target)
Set the target value.- Parameters:
target- the target value to set- Returns:
- the Error object itself.
-
details
public List<ErrorDetails> details()
Get the details value.- Returns:
- the details value
-
withDetails
public Error withDetails(List<ErrorDetails> details)
Set the details value.- Parameters:
details- the details value to set- Returns:
- the Error object itself.
-
innerError
public String innerError()
Get the innerError value.- Returns:
- the innerError value
-
-