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