Class DeleteCertificateError
java.lang.Object
com.microsoft.azure.management.batch.DeleteCertificateError
An error response from the Batch service.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncode()
Get an identifier for the error.details()
Get a list of additional details about the error.message()
Get a message describing the error, intended to be suitable for display in a user interface.target()
Get the target of the particular error.Set an identifier for the error.withDetails
(List<DeleteCertificateError> details) Set a list of additional details about the error.withMessage
(String message) Set a message describing the error, intended to be suitable for display in a user interface.withTarget
(String target) Set the target of the particular error.
-
Constructor Details
-
DeleteCertificateError
public DeleteCertificateError()
-
-
Method Details
-
code
Get an identifier for the error. Codes are invariant and are intended to be consumed programmatically.- Returns:
- the code value
-
withCode
Set an identifier for the error. Codes are invariant and are intended to be consumed programmatically.- Parameters:
code
- the code value to set- Returns:
- the DeleteCertificateError object itself.
-
message
Get a message describing the error, intended to be suitable for display in a user interface.- Returns:
- the message value
-
withMessage
Set a message describing the error, intended to be suitable for display in a user interface.- Parameters:
message
- the message value to set- Returns:
- the DeleteCertificateError object itself.
-
target
Get the target of the particular error. For example, the name of the property in error.- Returns:
- the target value
-
withTarget
Set the target of the particular error. For example, the name of the property in error.- Parameters:
target
- the target value to set- Returns:
- the DeleteCertificateError object itself.
-
details
Get a list of additional details about the error.- Returns:
- the details value
-
withDetails
Set a list of additional details about the error.- Parameters:
details
- the details value to set- Returns:
- the DeleteCertificateError object itself.
-