Class AutoScaleRunError

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

public class AutoScaleRunError extends Object
An error that occurred when autoscaling a pool.
  • 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
    • 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.
    • message

      public String message()
      Get a message describing the error, intended to be suitable for display in a user interface.
      Returns:
      the message value
    • 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.
    • details

      public List<AutoScaleRunError> details()
      Get the details value.
      Returns:
      the details value
    • withDetails

      public AutoScaleRunError withDetails(List<AutoScaleRunError> details)
      Set the details value.
      Parameters:
      details - the details value to set
      Returns:
      the AutoScaleRunError object itself.