ResizeError Class

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

public class ResizeError

An error that occurred when resizing a Pool.

Constructor Summary

Constructor Description
ResizeError()

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.

ResizeError withCode(String code)

Set the code value.

ResizeError withMessage(String message)

Set the message value.

ResizeError withValues(List<NameValuePair> values)

Set the values value.

Methods inherited from java.lang.Object

Constructor Details

ResizeError

public ResizeError()

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 ResizeError withCode(String code)

Set the code value.

Parameters:

code - the code value to set

Returns:

the ResizeError object itself.

withMessage

public ResizeError withMessage(String message)

Set the message value.

Parameters:

message - the message value to set

Returns:

the ResizeError object itself.

withValues

public ResizeError withValues(List values)

Set the values value.

Parameters:

values - the values value to set

Returns:

the ResizeError object itself.

Applies to