ComputeNodeError Class

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

public class ComputeNodeError

An error encountered by a compute node.

Method Summary

Modifier and Type Method and Description
String code()

Get the code value.

List<NameValuePair> errorDetails()

Get the errorDetails value.

String message()

Get the message value.

ComputeNodeError withCode(String code)

Set the code value.

ComputeNodeError withErrorDetails(List<NameValuePair> errorDetails)

Set the errorDetails value.

ComputeNodeError withMessage(String message)

Set the message value.

Method Details

code

public String code()

Get the code value.

Returns:

the code value

errorDetails

public List errorDetails()

Get the errorDetails value.

Returns:

the errorDetails value

message

public String message()

Get the message value.

Returns:

the message value

withCode

public ComputeNodeError withCode(String code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the ComputeNodeError object itself.

withErrorDetails

public ComputeNodeError withErrorDetails(List errorDetails)

Set the errorDetails value.

Parameters:

errorDetails - the errorDetails value to set

Returns:

the ComputeNodeError object itself.

withMessage

public ComputeNodeError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the ComputeNodeError object itself.

Applies to