Class ErrorDetails
- java.lang.Object
-
- com.microsoft.azure.management.network.ErrorDetails
-
public class ErrorDetails extends Object
The ErrorDetails model.
-
-
Constructor Summary
Constructors Constructor Description ErrorDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcode()Get the code value.Stringmessage()Get the message value.Stringtarget()Get the target value.ErrorDetailswithCode(String code)Set the code value.ErrorDetailswithMessage(String message)Set the message value.ErrorDetailswithTarget(String target)Set the target value.
-
-
-
Method Detail
-
code
public String code()
Get the code value.- Returns:
- the code value
-
withCode
public ErrorDetails withCode(String code)
Set the code value.- Parameters:
code- the code value to set- Returns:
- the ErrorDetails object itself.
-
target
public String target()
Get the target value.- Returns:
- the target value
-
withTarget
public ErrorDetails withTarget(String target)
Set the target value.- Parameters:
target- the target value to set- Returns:
- the ErrorDetails object itself.
-
message
public String message()
Get the message value.- Returns:
- the message value
-
withMessage
public ErrorDetails withMessage(String message)
Set the message value.- Parameters:
message- the message value to set- Returns:
- the ErrorDetails object itself.
-
-