Errors Class
- java.
lang. Object - com.
azure. resourcemanager. hdinsight. models. Errors
- com.
public final class Errors
The error message associated with the cluster creation.
Constructor Summary
| Constructor | Description |
|---|---|
| Errors() |
Creates an instance of Errors class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: The error code. |
| String |
message()
Get the message property: The error message. |
| void |
validate()
Validates the instance. |
| Errors |
withCode(String code)
Set the code property: The error code. |
| Errors |
withMessage(String message)
Set the message property: The error message. |
Methods inherited from java.lang.Object
Constructor Details
Errors
public Errors()
Creates an instance of Errors class.
Method Details
code
public String code()
Get the code property: The error code.
Returns:
message
public String message()
Get the message property: The error message.
Returns:
validate
public void validate()
Validates the instance.
withCode
public Errors withCode(String code)
Set the code property: The error code.
Parameters:
Returns:
withMessage
public Errors withMessage(String message)
Set the message property: The error message.
Parameters:
Returns: