AutoScaleRunError Class

  • java.lang.Object
    • com.microsoft.azure.management.batch.AutoScaleRunError

public class AutoScaleRunError

An error that occurred when autoscaling a pool.

Constructor Summary

Constructor Description
AutoScaleRunError()

Method Summary

Modifier and Type Method and Description
java.lang.String code()

Get an identifier for the error.

java.util.List<AutoScaleRunError> details()

Get the details value.

java.lang.String message()

Get a message describing the error, intended to be suitable for display in a user interface.

AutoScaleRunError withCode(String code)

Set an identifier for the error.

AutoScaleRunError withDetails(List<AutoScaleRunError> details)

Set the details value.

AutoScaleRunError withMessage(String message)

Set a message describing the error, intended to be suitable for display in a user interface.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AutoScaleRunError

public AutoScaleRunError()

Method Details

code

public String code()

Get an identifier for the error. Codes are invariant and are intended to be consumed programmatically.

Returns:

the code value

details

public List details()

Get the details value.

Returns:

the details value

message

public String message()

Get a message describing the error, intended to be suitable for display in a user interface.

Returns:

the message value

withCode

public AutoScaleRunError withCode(String code)

Set an identifier for the error. Codes are invariant and are intended to be consumed programmatically.

Parameters:

code - the code value to set

Returns:

the AutoScaleRunError object itself.

withDetails

public AutoScaleRunError withDetails(List details)

Set the details value.

Parameters:

details - the details value to set

Returns:

the AutoScaleRunError object itself.

withMessage

public AutoScaleRunError withMessage(String message)

Set a message describing the error, intended to be suitable for display in a user interface.

Parameters:

message - the message value to set

Returns:

the AutoScaleRunError object itself.

Applies to