DeleteCertificateError Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.DeleteCertificateError

public class DeleteCertificateError

An error encountered by the Batch service when deleting a Certificate.

Constructor Summary

Constructor Description
DeleteCertificateError()

Method Summary

Modifier and Type Method and Description
String code()

Get the code value.

String message()

Get the message value.

List<NameValuePair> values()

Get this list includes details such as the active Pools and Compute Nodes referencing this Certificate.

DeleteCertificateError withCode(String code)

Set the code value.

DeleteCertificateError withMessage(String message)

Set the message value.

DeleteCertificateError withValues(List<NameValuePair> values)

Set this list includes details such as the active Pools and Compute Nodes referencing this Certificate.

Methods inherited from java.lang.Object

Constructor Details

DeleteCertificateError

public DeleteCertificateError()

Method Details

code

public String code()

Get the code value.

Returns:

the code value

message

public String message()

Get the message value.

Returns:

the message value

values

public List values()

Get this list includes details such as the active Pools and Compute Nodes referencing this Certificate. However, if a large number of resources reference the Certificate, the list contains only about the first hundred.

Returns:

the values value

withCode

public DeleteCertificateError withCode(String code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the DeleteCertificateError object itself.

withMessage

public DeleteCertificateError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the DeleteCertificateError object itself.

withValues

public DeleteCertificateError withValues(List values)

Set this list includes details such as the active Pools and Compute Nodes referencing this Certificate. However, if a large number of resources reference the Certificate, the list contains only about the first hundred.

Parameters:

values - the values value to set

Returns:

the DeleteCertificateError object itself.

Applies to