AutoScaleRunError Class

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

public class AutoScaleRunError

An error that occurred when executing or evaluating a pool autoscale formula.

Method Summary

Modifier and Type Method and Description
String code()

Get the code value.

String message()

Get the message value.

List<NameValuePair> values()

Get the values value.

AutoScaleRunError withCode(String code)

Set the code value.

AutoScaleRunError withMessage(String message)

Set the message value.

AutoScaleRunError withValues(List<NameValuePair> values)

Set the values value.

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 the values value.

Returns:

the values value

withCode

public AutoScaleRunError withCode(String code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the AutoScaleRunError object itself.

withMessage

public AutoScaleRunError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the AutoScaleRunError object itself.

withValues

public AutoScaleRunError withValues(List values)

Set the values value.

Parameters:

values - the values value to set

Returns:

the AutoScaleRunError object itself.

Applies to